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
➜ Lua
➜ Alias to toggle triggers
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Tiopon
USA (71 posts) Bio
|
Date
| Sat 14 Mar 2009 04:29 AM (UTC) |
Message
| Just wrote this up quickly to toggle triggers... post if there are any problems with it. Started using the 5 year old suggested code to enable/disable all triggers, and turned that into this to enable or disable a single trigger. This easily gets added to macros or other accelerators. Anyways... here goes.
<aliases>
<alias
name="ToggleTrigger"
match="tt *"
enabled="y"
send_to="12"
ignore_case="y"
sequence="100"
>
<send>
EnableTrigger ("%1", (GetTriggerOption("%1", "enabled")+1)%%2)
ColourNote ("sienna", "thistle", "%1 trigger is enabled: " .. tostring(GetTriggerOption("%1", "enabled") == 1))
</send>
</alias>
</aliases>
| 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.
8,038 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top