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
Most of these issues can be overcome using goto
Show as text
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