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
Kronas
Wanderer


Joined: 28 Dec 2003
Posts: 62
Location: Australia

PostPosted: Sun Apr 04, 2004 5:35 am   

last command
 
Hi, Looking for the function for "Last command"

Like your travelling north using step, then you come across "there is water ahead!" you have to swim that direction,
so I would like to make a trigger to make it then swim the last direction sent. Therefore it will "swim north"
Can someone help me please?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Apr 04, 2004 5:45 am   
 
I believe

#TR {there is water ahead!} {swim %lastdir}
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Apr 04, 2004 5:59 am   
 
Or maybe its %nextdir not sure off the top of my head
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Apr 04, 2004 6:36 am   
 
If you are not using the mapper then you can use %lastinput or %lastcom. I remember they used to get occupied by script portions though, so double check each a little before deciding.
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