Macro Command Reference


if <expr> <operator> <expr>
else
endif

Executes the commands between if ... and else if the condition is true. If the condition is false it executes the commands between else and endif. Possible operators are ==, !=, >, <, >=, <= for numerical comparison and eq, ne for string comparison. It is not possible to nest if, else, endif statements.