Triggers/Aliases

Posted by Helpless on Wed 01 Aug 2007 10:14 PM — 6 posts, 21,388 views.

#0
Can we get a button to click that turns off triggers, and one that turns off aliases? the idea comes from zmud, you click on the little gun and it disables triggers (while putting a red X over the gun) and a little computer (i think) that disables aliases. Maybe a clock too to disable timers? i dont remember seeing a button to turn off timers on zmud but its been awhile.

If not a button to click...how bout a command for those 3? ctrl+whatever, or ctrl+shift+whatever......sorry if this exists in some form and i have yet to find it. (and icons to let you know whats off still sound good even if you cant disable/enable the things by clicking them)
Australia Forum Administrator #1
In the trigger configuration list is a checkbox "Enable triggers". If you uncheck that they are all disabled. Same for aliases and timers.
#2
i know, i was suggesting an easier way to shut them off
USA #3
I'm confused, is it really that hard to go into the menu first? Is turning on/off triggers/aliases/etc by hand something you do that often?
Netherlands #4
Three new buttons on the World Toolbar might indeed be nice. They'd toggle respectively Triggers, aliases and timers (of the world, not plugins) off. Pretty much a visual indicator of the checkboxes in the Configuration screen.

I wouldn't use them myself, but I can see how people need them.
Australia Forum Administrator #5
I actually think that too many buttons that do obscure things reduces functionality rather than adding to it, because you get "button clutter".

You can make a couple of aliases to enable and disable triggers, like this:


<aliases>

  <alias
   match="disable_triggers"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>
SetOption ("enable_triggers", 0)
ColourNote ("white", "orangered", "Triggers disabled.")
</send>
  </alias>

  <alias
   match="enable_triggers"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>
SetOption ("enable_triggers", 1)
ColourNote ("white", "green", "Triggers enabled.")
</send>
  </alias>

</aliases>


Now if you want to, you can make an accelerator or macro call those aliases with a single keypress. You could also update the info bar (if you aren't using it for anything else) with a message saying whether or not triggers are enabled.

A bit of copying and pasting, and a couple of minor changes, and you can do similar things for aliases and timers.