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?
Trigger Groups
Posted by Sleeve on Sat 26 Oct 2002 10:55 PM — 6 posts, 24,129 views.
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. :)
world.SetTriggerOption "my_trigger", "group", "group-x"
However that isn't implemented yet. :)
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"
eg.
world.SetTriggerOption "my_trigger", "match", "w"
world.SetTriggerOption "my_trigger", "send", "go west"
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.
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.
Yes I added that too, just didn't say so. :)
Checkout this link: MUSHclient script functions - searching for 'group'
Thanks again Nick. :)