Dynamic #event

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

dok
a ghoul
a ghoul
Posts: 127
Joined: Mon Mar 15, 2004 3:38 pm

Dynamic #event

Post by dok » Wed Apr 28, 2004 8:32 pm

Has anyone tried making a dynamic #event that the script could change later on? Just playing with an idea, and wondering if anything like that has been attempted successfully. Basically, thinking about adding a routine to my bot that I can specify what to do if an event happens that I can setup in my ini file or assign on the fly instead of hard coded into the script.

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Wed Apr 28, 2004 9:12 pm

All #command s are PRE-processor directives, aka their run through BEFORE it starts parsing the script, so there is no way a script could then go back and change it's own PRE-processor directives