Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
MarkHaldane
Newbie


Joined: 27 Jan 2005
Posts: 4

PostPosted: Tue Feb 22, 2005 5:06 pm   

"Repeat Last" Command??
 
Is there a command I can put in a trigger to make it repeat the last command used?

I searched the help docs but couldn't find it!
Reply with quote
Tittering_Leo
Newbie


Joined: 22 Feb 2005
Posts: 9

PostPosted: Tue Feb 22, 2005 10:00 pm   
 
Im not exactly sure of how to use these, but I stumbled upon them. Hope it helps some

%lastcom the last command executed

%lastcom2 the command before the last command executed

%lastcom3 the command before %lastcom2

%lastinput the last line of commands executed

%lastin2 the line before the last line of commands executed

%line the last line received from the MUD

%line2 the line before the last line received

%line3 the line before the line before the last line received

http://forums.zuggsoft.com/mx/modules/mx_kb/kb.php?mode=doc&index=zmud_Predef&page=3&refpage=3

Another might be the #H- found at
http://forums.zuggsoft.com/mx/modules/mx_kb/kb.php?mode=doc&index=%23HMINUS&page=3&refpage=3
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Feb 22, 2005 11:51 pm   
 
%lcastcom will work, but like all settings-based features it's subject to change as triggers fire. %lastcom could be three different things at three different points it's checked in the same trigger.

If all you're interested in are the commands you as a player have inputted via the command-line, you can just use #H-.
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net