Logic
4 posts tagged with "Logic"
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
logic
function
The logic action logic operations. It belongs to the logic category within the system area.
Action Syntax
logic $variable and $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
logic $variable or $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
logic $variable xor $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
Return Value
This function returns a
BOOLEAN
value that can be stored in a variable:
not
The not action a negation action for logic statements like if and when. It belongs to the logic category within the system area.
Action Syntax
This action accepts various parameters. See the examples below for usage patterns.
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
not
Action code: 3599881481
Version: 0.6.4-1
Last updated: 2025-06-13
when
The when action when - a synonymn for if. It belongs to the logic category within the system area.
Action Syntax
when $variable
A variable name starting with $
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
when $var
Action code: 2290178695
Version: 0.6.4-7
Last updated: 2025-06-13