An alias which enables/disables triggers.

Posted by Bmo on Mon 02 Jul 2007 09:51 PM — 2 posts, 11,761 views.

#0
I'm interested in creating an alias which, when I type it, it will enable 20 or 30 triggers.

For instance, I want to type 'pk mode on'

and in MUSHclient it will turn on a list of triggers which contain the same label as the label of my alias.

Additionally, I'd like to create another alias "pk mode off" which will disable the triggers which were just enabled.

I have little knowledge on how to do this. Could someone point me in the right direction?

-Thanks!
Amended on Mon 02 Jul 2007 09:52 PM by Bmo
Australia Forum Administrator #1
Put them all in a group and then use the EnableGroup script function:

http://www.gammon.com.au/scripts/doc.php?function=EnableGroup

You need to make your "enabling" alias do "send to script" to do that.