Perl events.pl question

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

Moderator: MacroQuest Developers

Alisandra
orc pawn
orc pawn
Posts: 28
Joined: Fri Aug 30, 2002 9:55 pm

Perl events.pl question

Post by Alisandra » Sat Nov 09, 2002 8:23 am

Is there any way of having events.pl NOT lose events while control is in other functions? ie, if the program is in foo(), and an event comes that would trigger bar(), it's never invoked.

Thanks,
Alisandra

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Sat Nov 09, 2002 8:33 am

my solution to this was to just set a flag in triggered events and deal with it in the main script. That way events dont last long enough for another one to fire.
Fippy

This is my girl. But Rizwank had her first :-)
[img]http://www.btinternet.com/~artanor/images/fairy_bounce09.gif[/img]

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Sat Nov 09, 2002 1:59 pm

fippy... you are coding in perl now?