Checking for adds

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

OldNecro
a ghoul
a ghoul
Posts: 136
Joined: Thu Dec 19, 2002 3:09 am

Checking for adds

Post by OldNecro » Wed Jan 29, 2003 8:32 pm

I know I've seen an example of this code in my searches here before but I'll be damned if I can find it now when I need it...

Basically, here's what I want to do:

Code: Select all

Sub CheckAdds
:KeepWaiting
   /if A_Mob_01 is within 100 ticks of me {
      /doevents InvisBroke
      /goto :KeepWaiting
   }
/return
Just one quick line of code if anyone can help me out... Kthx!