It would be great to have simple if-then-else conditionals in the scripting language. The first really useful condition could be something along the lines of:
[:when [:pointer-near 500 500 50]
[:click]]
This would process the body if the mouse pointer is within 50 pixels of the point [500, 500]. There should be similarl functionality for :if, but taking both and if and an else branch.
It would be great to have simple if-then-else conditionals in the scripting language. The first really useful condition could be something along the lines of:
This would process the body if the mouse pointer is within 50 pixels of the point [500, 500]. There should be similarl functionality for
:if
, but taking both and if and an else branch.