Example:
Either
Code: Select all
$casting==true/false If you are currently casting or not..
$caststate==casting/idle if you are casting or not..
Usage, if you are doing a melee type macro, and you cast somthing, you get a ton of spam from kicking and such while casting, "you cannot do that action at this time" like mad..
with this variable, you could do a sub like
Code: Select all
/call casting
Sub casting
:checkcast
/delay 3
/if "$casting"=="TRUE" goto :checkcast
/return
