if
The if
action if statement. It belongs to the logic category within the system area.
Action Syntax
if $variable = 123
A variable name starting with $ followed by a value followed by A numeric value
if $variable is 123
A variable name starting with $ followed by a value followed by A numeric value
if $variable = "text"
A variable name starting with $ followed by a value followed by A quoted text string
if $variable is "text"
A variable name starting with $ followed by a value followed by A quoted text string
if $variable = $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
if $variable is $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
if $variable = true|false
A variable name starting with $ followed by a value followed by A boolean value (true or false)
if $variable is true|false
A variable name starting with $ followed by a value followed by A boolean value (true or false)
if $variable < 123
A variable name starting with $ followed by a value followed by A numeric value
if $variable < $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
if $variable <= 123
A variable name starting with $ followed by a value followed by A numeric value
if $variable <= $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
if $variable > 123
A variable name starting with $ followed by a value followed by A numeric value
if $variable > $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
if $variable >= 123
A variable name starting with $ followed by a value followed by A numeric value
if $variable >= $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
if $variable contains "text"
A variable name starting with $ followed by a value followed by A quoted text string
if $variable contains $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
if $variable starts-with "text"
A variable name starting with $ followed by a value followed by A quoted text string
if $variable starts-with $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
if $variable ends-with "text"
A variable name starting with $ followed by a value followed by A quoted text string
if $variable ends-with $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
if $variable is not "text"
A variable name starting with $ followed by a value followed by a value followed by A quoted text string
if $variable is not 123
A variable name starting with $ followed by a value followed by a value followed by A numeric value
if $variable is not true|false
A variable name starting with $ followed by a value followed by a value followed by A boolean value (true or false)
if $variable is not $variable
A variable name starting with $ followed by a value followed by a value followed by A variable name starting with $
if missing $variable
a value followed by A variable name starting with $
if have $variable
a value followed by A variable name starting with $
Examples
// Basic Usage
if $foo = 10
Action code: 1949376991
Version: 0.6.4-3
Last updated: 2025-06-13