If / Else
Parameters
Enter the variable / argument name to test
Does Not Exist
operator.Equals
Choose the type of test to perform on the selected variable
Equals
: Check if the variable equals a given valueNot Equals
: Check if the variable does not equal a given valueContains
: Check if the variable contains the given valueRegex Match
: Use a Regular Expression to match variable contentsLess Than
: Check if a numeric variable is less than a given valueGreater Than
: Check if a numeric variable is greater than a given valueDoes Not Exist
: Check if the variable name is defined at allEquals (Ignore Case)
: Check if a string variable equals a given value, case insensitiveNot Equals (Ignore Case)
: Check if a string variable does not equal a given value, case insensitiveIs Null or Empty
: Check if a variable isNull
or empty
false
By default, values which have not already been typed are treated as text, or string
variables.
Enable Auto Type
to automatically determine the type for the variable value.
For example:
0
can be auto-typed to a numeric type such asint
orlong
true
orfalse
can be auto-typed to abool
Enter the value you would like to use for comparison.
This can contain other %variables%
~globalVariables~
directly. Use the Global Get sub-action to first load it into a local argument.None
Select an action to execute if the comparison is true
true
By default, the selected action will be executed outside of its normal queue and treated as a subroutine of the current action, waiting for completion before moving on to the next sub-action.
Disable this option to queue the action as normal and immediately move on to the next sub-action
Continue
Choose whether or not the current action should continue if the comparison was true
Continue
: Continue execution as normal, moving on to any subsequent sub-actionsBreak
: Stop the current action, any subsequent sub-actions will not be executed.
None
Select an action to execute if the comparison is false
true
By default, the selected action will be executed outside of its normal queue and treated as a subroutine of the current action, waiting for completion before moving on to the next sub-action.
Disable this option to queue the action as normal and immediately move on to the next sub-action
Continue
Choose whether or not the current action should continue if the comparison was false
Continue
: Continue execution as normal, moving on to any subsequent sub-actionsBreak
: Stop the current action, any subsequent sub-actions will not be executed.