|
prestojosh Beginner
Joined: 21 Feb 2006 Posts: 19
|
Posted: Thu Oct 11, 2007 11:07 pm
Command for repeating a command remotely |
I'm wondering what the command is for repeating a command when the last command was sent remotely. For example I cast a spell, then i have a trigger for if a spell fails to cast, I want to repeat the spell, but !! wont work because it just puts in the last one i typed in the box. The command i need to be repeated was triggered remotely.
|
|
_________________ -Presto |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Fri Oct 12, 2007 12:30 am |
Your best bet would be to use a placeholder variable that the trigger would define for you.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Fri Oct 12, 2007 2:00 am |
Yeah so the trigger sets a variable called, e.g. @LastRemoteCommand.
Then you can make an alias to repeat it using this variable. |
|
|
|
prestojosh Beginner
Joined: 21 Feb 2006 Posts: 19
|
Posted: Fri Oct 12, 2007 6:02 am |
Is that really the only way to do it? There is no function in zmud?
|
|
_________________ -Presto |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Fri Oct 12, 2007 8:56 am |
Not currently
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Fri Oct 12, 2007 10:42 am |
What do you mean by remotely anyway, because there is %lastcom, etc. I presume you mean the last command that was sent by a script?
|
|
|
|
|
|