Register forum user name Search FAQ

Gammon Forum

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 ➜ Trigger Groups

Trigger Groups

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Sleeve   (31 posts)  Bio
Date Sat 26 Oct 2002 10:55 PM (UTC)
Message
I love the fact that we have trigger groups now but is there any way to add the group name via world.addTriggerEx or some such new function that I missed? Also, is there a way to delete a trigger group and not just disable it?
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 26 Oct 2002 11:23 PM (UTC)
Message
Ah, not yet. I am planning a fancier trigger interface, in some version to come soon. eg.

world.SetTriggerOption "my_trigger", "group", "group-x"

However that isn't implemented yet. :)

- 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 Mon 28 Oct 2002 02:57 AM (UTC)
Message
In version 3.29 you can change individual items in triggers, timers and aliases using the syntax foreshadowed above.

eg.

world.SetTriggerOption "my_trigger", "match", "w"
world.SetTriggerOption "my_trigger", "send", "go west"

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Sleeve   (31 posts)  Bio
Date Reply #3 on Tue 29 Oct 2002 05:54 PM (UTC)
Message
Thanks Nick, SetTriggerOption would be a great function to have. :)

Also, any plans to allow us to delete a group of triggers? I tend to use a lot of temporary triggers and don't want to have a cluttered list of triggers. Right now, I just keep a counter and increment it as I need more triggers. So my triggers are labeled like "temp0", "temp1", etc. Then when I don't need them anymore, I use that same counter variable to delete each one individually. It would make life a lot easier to be able to delete all these triggers just based on the group they are in, something like world.deleteTriggerGroup("groupname") or some such thing.
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #4 on Tue 29 Oct 2002 09:06 PM (UTC)
Message

Yes I added that too, just didn't say so. :)

Checkout this link: MUSHclient script functions - searching for 'group'


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Sleeve   (31 posts)  Bio
Date Reply #5 on Tue 29 Oct 2002 10:11 PM (UTC)
Message
Thanks again Nick. :)
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.


21,279 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.