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