Macro Language: Miscellaneous Commands

colormode <mode>

With this command you can define if colors will be defined as RGB or HSB (0=RGB, 1=HSB).

clr

Clears the console output.

setvar <var> <expr>
<var>=<expr>

Defines a variable.

setstring <var> <value>
$<var>=<expr>

Defines a string variable.

eval <name> <expr>

Evaluates the expression and defines the result as a string variable.

format <name> <format> <expr> ... <expr>

Returns a string created with the given format string. The format can be defined in the usual printf notation.