Is there an easy way to turn a group of triggers off? I'm a noob. Thanks.
Is there an easy way to turn a group of triggers off?
Posted by Ringring7 on Sun 15 Jun 2008 08:30 PM — 5 posts, 19,842 views.
You can use EnableTriggerGroup to enable or disable a group of triggers.
http://www.gammon.com.au/scripts/doc.php?function=EnableTriggerGroup
If you want to do aliases and timers as well you can use EnableGroup.
http://www.gammon.com.au/scripts/doc.php?function=EnableGroup
http://www.gammon.com.au/scripts/doc.php?function=EnableTriggerGroup
If you want to do aliases and timers as well you can use EnableGroup.
http://www.gammon.com.au/scripts/doc.php?function=EnableGroup
Ok, noob reply....HOW do I do that? I mean, I tried to enter that text ( world.EnableTriggerGroup "yetis", 1) into the mud but it didnt like it. I guess it has to be some sort of script or something, but i need some guidance how to do that?
You use "send to script" in an alias, if an alias is what you are trying to do.
For example:
See http://mushclient.com/pasting for how to copy that into the client.
For more information about scripting, see http://mushclient.com/scripting .
To disable the group change the word "true" to "false" and the ColourNote line appropriately (ie. make a second alias to disable the group).
For example:
<aliases>
<alias
match="enableyetis"
enabled="y"
send_to="12"
sequence="100"
>
<send>
EnableTriggerGroup ("yetis", true)
ColourNote ("white", "blue", "Yetis group enabled!")
</send>
</alias>
</aliases>
See http://mushclient.com/pasting for how to copy that into the client.
For more information about scripting, see http://mushclient.com/scripting .
To disable the group change the word "true" to "false" and the ColourNote line appropriately (ie. make a second alias to disable the group).
Oh the power!!!
Thanks Nick! Awesome.
Thanks Nick! Awesome.