If statement
New in 2021!   Eonza automation software - free, open source cross-platform automation software for easy creation and management of scripts.

If statement

Conditional expression. You can use this command to define simple conditional operators. This command can contain other commands that will be executed only if the specified condition is true.

Description
Optionally, you may add comments here describing the purpose of this element.
Variable name
The name of the macro whose value will be compared.
val1 
Comparison Type
Specify the comparison operations you need.
Value
The value the macro specified above is compared to. This parameter can be ignored in case of some comparison operations (Empty, Not empty).
#val2
Alex #name# 
Next Condition
You can specify a combination of two conditions.
AND - this and the next condition must be true.
OR - At least one of the two conditions must be true.
You can use the Source code command with Gentee programming language code for more complex conditional expressions.
if defmacro.getint("my1") && ( *defmacro.get("mystr", "") ||
   macrox_getint("my2") >= 100 )
{
   $body$
}