|
trig/alias/variable relations :-)
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Jeffrey F. Pia
(49 posts) bio
|
| Date |
Thu 12 Dec 2002 08:18 PM (UTC) [ quote
] |
| 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 (18,770 posts) bio
Forum Administrator |
| Date |
Reply #1 on Sat 14 Dec 2002 10:14 AM (UTC) [ quote
] |
| 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.
1,570 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )