Mob spawn alert

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

Moderator: MacroQuest Developers

somemage
a lesser mummy
a lesser mummy
Posts: 35
Joined: Mon May 12, 2003 7:44 pm

Mob spawn alert

Post by somemage » Fri May 30, 2003 10:39 am

I need to follow a cycle of mobs, so what I would like to do is start a macro and get a message everytime a new mob spawns (no matter what it is).

The problem I've been having is that I don't know what mobs are on the cycle, so I can't just add /alerts for all of them. Is there a way to setup an /alert that will cover any possible mob name?

Or, can the code be altered to output a message when a new mob spawns? (I assume that when a mob spawns MQ compares its name to the contents of gpAlert[] and takes the appropriate action, but I can't work out where it happens).