Request: enableScript() disableScript()

Post Reply
Xiran
Posts: 1
Joined: Mon Jul 12, 2010 1:32 am

Request: enableScript() disableScript()

Post by Xiran »

Hello. Currently I have the "You have recovered equilibrium." line raise an "onEqu" event, and a script with a function to handle the event. But I'm expanding this to multiple handlers (Lusternian influencing, fighting, curing buffer) for the same "onEqu" event in different situations. It'd be nice to be able to disableScript() on the handlers I'm not using.

User avatar
tsuujin
Posts: 695
Joined: Fri Feb 26, 2010 12:59 am
Location: California
Contact:

Re: Request: enableScript() disableScript()

Post by tsuujin »

I've actually been wanting this as well.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Request: enableScript() disableScript()

Post by Vadi »

I'm in support of having the underlying assumption that disabling a script would disable its event handlers work.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Request: enableScript() disableScript()

Post by Heiko »

I'll add this feature.

Post Reply