while hunting ive noticed that if i run a macro on mages where they run spells, sit, delay and stand and a mob hits them, they will just loop over the macro sitting , standing and targeting after being attacked...
Macro example
/target x
/assist
/useskill x
/sit
/delay 6
/stand