/declare already in use?

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

User avatar
bohicaseti
a lesser mummy
a lesser mummy
Posts: 33
Joined: Sat Mar 06, 2004 5:55 am

/declare already in use?

Post by bohicaseti » Thu Apr 29, 2004 12:05 pm

Hmm my macro's seem to be a bit broken since this latest zip. The big problem I'm comming across is when I try to start a macro again after I have ended it I get a "/declare 'CheckLoot' failed. Name already in use." message. I get a message like that for any /declares that I had listed in my macro. I'm not sure if I'm having a HUGE brainfart right now on something simple or not. 2 days ago, my mac's worked okay but now I have Lax Flaming me in game 5x a second :twisted: (Nice wake up call Lax). Flame me at will if this is something stupid I'm overlooking, Lax has made me numb to it at this point :P .
Friends help friends move . . . .
Real friends help friends move dead bodies.

s16z
a ghoul
a ghoul
Posts: 97
Joined: Thu Apr 01, 2004 12:03 pm

Post by s16z » Thu Apr 29, 2004 12:19 pm

This is one of the changes with the new datavar system. anything defined as "global" lasts forever. Change all those 'global' to 'outer' and your problems should go away.

User avatar
bohicaseti
a lesser mummy
a lesser mummy
Posts: 33
Joined: Sat Mar 06, 2004 5:55 am

Post by bohicaseti » Thu Apr 29, 2004 12:25 pm

Thanks a bunch s16z, that worked like a charm :D Now to figuring out what went wrong with the macros themselves and have Lax school me the art of flamage :D
Friends help friends move . . . .
Real friends help friends move dead bodies.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Thu Apr 29, 2004 12:47 pm

Good to know. My melee script would have been truly hosed. Thanks for the tip.