if
The if statement creates the branches and switches of your Xtscript
[...] = optional ... = your value
if ...
...
[else
...]
endif
"Nested if's" can be a problem in xtscript ... They do not work and should be avoided
Most of these issues can be overcome using
gotoExample code
Example output
Reload$x is less than 50
'abcdef' is less than 'abcdeg'
$a equals 3 ?
no output because $a does not equal 3 so $b test is skipped