-
Notifications
You must be signed in to change notification settings - Fork 5
Conditions
Conditions are a true or false check for whether to use a block or not, like an if statement
Any Macro in a Condition is replaced with the macros value, and then compared if any operators are used, and then checked
Values are a simple true or false check
Any positive number is True, and 0 is False
This would return True and the block would be used:
Key Value [$EXAMPLE]
You don't need to use macro to use one either, just put in any number or string you want:
Key Value [100]
Values can be compared in many ways, and you can use as many as you want
Or Check:
[$FOO || $BAR]
And Check
[$FOO && $BAR]
You can also use them in parenthesis:
[($FOO || $BAR) && $POSIX]
You can also compare the values of macros with these operators:
>= > == != < <=
Using an exclamation mark checks if it's not true, if it's a positive number, it sets it to negative, etc.
[!$MACRO]
[!($MACRO == string)]
Basics:
Project Scripts
Generators: