Post
by Gumby » Mon Mar 22, 2004 3:46 am
Use /doevents flush if you might get multiple text triggers to an event but only wish to call it once (or twice, or whatever).
A random example (and there are other ways to do this but for illustration's sake) would be triggering an event off your taking damage, say to re-rune, feign, bug out, etc; the mob might hit 2, 3, or 10 times, however you want to only execute the triggered event code once till you get to the next state of the macro. So instead of calling it however many times, you'd re-rune and then /doevents flush it to get it out of the queue.
Another and likely more practical reason is if you're individually calling events at certain points in your script; the events that aren't being executed are still being batched up however through the incoming text triggers. Prior to you getting back to the next individual trigger set flushing the event queue prevents execution of it however many times.
G