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
➜ Altering trigger properties in script
Altering trigger properties in script
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Vaejor
(120 posts) Bio
|
Date
| Fri 10 May 2002 09:02 PM (UTC) |
Message
| I've been using MushClient for a short time now, and can't seem to find a solution to this problem.
I'm interested in creating a script that will allow me to change specific properties in a specifically labelled.
Real world concept:
I have several triggers that catch damage messages. I have them with specific prefixes in their labels so they can be found easily by looping through all items returned by GetTriggerList. What I want to do is be able to use a script or alias(to execute a script) to cause all of these triggers to set their 'omit from output' option on or off at will.
I know that setting single options like this could probably be done complexly, using GetTriggerInfo, DeleteTrigger, and AddTrigger, but I have a feeling that would be a mess which would be fairly hard to maintain as additional complexity is added to the trigger functionality.
This sort of thing could also be useful for aliases, timers, etc. | Top |
|
Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sun 12 May 2002 02:29 AM (UTC) |
Message
| Added as suggestion #465. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
Date
| Reply #2 on Wed 30 Oct 2002 03:47 AM (UTC) |
Message
| Implemented in version 3.29 using SetVariableOption, SetTimerOption, SetAliasOption (and their corresponding "Get" variants). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Vaejor
(120 posts) Bio
|
Date
| Reply #3 on Wed 30 Oct 2002 01:18 PM (UTC) |
Message
| Woo. Nice work Nick. :)
Already have plans for where I can fit it in to squeeze together some triggers.
Thanks a lot. | 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,273 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top