Page 1 of 1

Making a trigger 'resend previous command'?

Posted: Sat May 07, 2016 8:12 pm
by twixt
Is there any way I can access command history in a trigger? For instance, if I get an 'ability failed' message from the game that means I can reattempt the ability I just attempted; however, the game text doesn't include specifics so I have to manually enter in the previous command.

I googled but couldn't find out if this exists, and if not, how to make it happen. The only way I can think of doing it is making a variable that saves every command entered in a 'lastCommand' buffer but... that seems unwieldy.

Re: Making a trigger 'resend previous command'?

Posted: Sun May 08, 2016 10:14 pm
by SlySven
Can you not have an alias that stores the ability you attempt for a subsequent trigger to refer to?

Re: Making a trigger 'resend previous command'?

Posted: Mon Jun 06, 2016 4:27 pm
by Davyde84
in many MUDs if you give a the single command ! it will repeat last command sent