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
➜ Suggestions
➜ trig/alias/variable relations :-)
|
trig/alias/variable relations :-)
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Jeffrey F. Pia
(49 posts) Bio
|
| Date
| Thu 12 Dec 2002 08:18 PM (UTC) |
| Message
| Two simple requests. Sorry if this was already suggested or in planning.
1) The ability to fire a trig based on a variable i.e.:
Var: orc
Trig: * @target is here!
Send: backstab @target
From world: an orc is here!
Sends: backstab orc
2) The ability to fire a trig based on an alias
Alias: dual * *
Sends: get %1 bag
dual %1
Trig: dual *
To Variable: %1
Trig Label: @DualWpn
Reason beaing, these are simple tasks and creating scripts for each little thing gets tedious and bloats the script file with dozens of Subs that could/should be handled more cleanly within the alias/trig itself.
Just my 2c | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 14 Dec 2002 10:14 AM (UTC) |
| Message
| 1) You can do that now if you have "expand variables" checked.
2) I agree in principle this is a nice idea. As a workaround for now, put the "shared" text into a variable, then put the variable name into both the trigger and alias. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
11,237 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top