|
nostra Wanderer
Joined: 23 May 2001 Posts: 68 Location: Sweden
|
Posted: Wed Jan 02, 2002 2:27 am
Repeat previous command |
Hi,
I wonder if there is a simple way to write a trigger that repeats your previous command (one time).
For example:
<input> "cast web"
<Mud output> "You cannot move your arms"
<trigger to repeat "cast web">
Thanks in advance! |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Jan 02, 2002 4:45 am |
quote:
Hi,
I wonder if there is a simple way to write a trigger that repeats your previous command (one time).
For example:
<input> "cast web"
<Mud output> "You cannot move your arms"
<trigger to repeat "cast web">
Thanks in advance!
Untested, so use at your own risk.
#trigger {You cannot move your arms} {#H-}
Never used that command myself, but it involves the command-history buffer.
li'l shmoe of Dragon's Gate MUD |
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Wed Jan 02, 2002 9:26 pm |
Or you can try using !!
#trigger {You cannot move your arms} {!!}
Iljhar |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Jan 03, 2002 12:00 am |
The next down the line is %action. I have only read the help so I have no idea exactly what it will contain and when. You would only need to use this option if the command cast web that you mentioned was sent by an alias, trigger, or macro. Again test carefully before trying.
|
|
|
|
|
|