Tag: <testEq> - Test for Equals To
Definition
The <testEq> tag is used to compare the current value of a named parameter to a given string.
This is not a Regular Expression. To use a Regular Expression checkout the <testRe> tag here: Tag: <testre>.
This tag has the following attributes:
Parameters
-
name (str) : The name of the parameter whose current value is to be checked.
-
value (str) : This is the string that is compared to. This has to be an exact match and IS case sensitive.
Example
To perform a specific command only when the access token (with the parameter name of accesstoken) of a given account is readwrite, you would use the following:
1 2 3 4 5 | |
Parent Tags
Child Tags
- None