There is NO if ... and ...
In Xtscripts if statement
You will have to use other if options to simulate and
See related function links below
Show as text
Reload
The and $y == 1 is ignored
$x=24 $y=54