Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Is there an easy way to turn a group of triggers off?
Is there an easy way to turn a group of triggers off?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ringring7
(3 posts) Bio
|
Date
| Sun 15 Jun 2008 08:30 PM (UTC) |
Message
| Is there an easy way to turn a group of triggers off? I'm a noob. Thanks. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 15 Jun 2008 10:30 PM (UTC) |
Message
| |
Posted by
| Ringring7
(3 posts) Bio
|
Date
| Reply #2 on Sun 15 Jun 2008 10:54 PM (UTC) |
Message
| 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? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sun 15 Jun 2008 11:22 PM (UTC) |
Message
| You use "send to script" in an alias, if an alias is what you are trying to do.
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).
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Ringring7
(3 posts) Bio
|
Date
| Reply #4 on Sun 15 Jun 2008 11:45 PM (UTC) |
Message
| Oh the power!!!
Thanks Nick! Awesome. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,556 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top