Alter Aeon Online Help
Keywords are: 'if-command conditional'
Syntax:
if <string> <operator> <string> <command>
This command can be used to execute other commands conditionally. Usually
this is used with variables, for example:
if "$(weapon)" == "dagger" wield dagger
If both arguments to 'if' are numerical, numerical compare will be used.
Possible operators are ==, !=, >=, <=, >, and <. There must be spaces
around the operators. Quotes can be used to compare multi-word strings.
WARNING - to check for empty variables, we recommend you use the
parenthesis based variable expansion surrounded by double quotes, as
demonstrated above. Variables without parenthesis do not expand at
all unless they have a value.