🕸📝Fergus Duniho wrote on Thu, Feb 26, 2004 03:32 AM UTC:
This guide now describes the following new commands:
setflag, unsetflag, copyflag
add, move, replace
if, else, elseif, endif, verify
The verify command was already available, but it has now been greatly
expanded.
I created some of these commands for use with Crazyhouse, and I created
others because of their similarity to other commands I was creating. In
particular, the new Crazyhouse preset tracks Pawns with flags, uses verify
to check the flag of a captured piece, then uses add to change it to a
Pawn if it used to be one. Although I didn't use them, I also figured out
how to implement nesting if, if-else, and if-elseif-else statements. I
haven't thoroughly tested them out yet, but I expect they should work.