In a settings file, you can use if and endif commands to parse different sections of the code based on the result of an expression or option.
Use the following comparason operators:
= Equal
! Not Equal
< Less Than (Real/Integer comparason only)
> Greater Than (Real/Integer comparason only)
Conditionals take the following format (note that the if and endif commands must begin with the type of comparason symbol that you want to use - ! for int, ~ for real, $ for string, ? for bool):
Conditionals are also nestable - for example: