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
Aarlot
Adept


Joined: 30 Dec 2003
Posts: 226

PostPosted: Thu Jan 08, 2004 7:45 am   

Following someone and the map
 
I'm not really good at zmud, and i was wondering if anyone knew how to make the automapper know that you'd moved a room, when you aren't actually entering the move command. So:

XXXXXX leaves east.
You follow XXXXXX.

would make the automapper move the "current position" 1 east.

Any idea how i could do this?
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Thu Jan 08, 2004 8:08 am   
 
Try the Move command:

#trigger {(%w) leaves (%w).$You follow (%w)} {#move %2}

This is a multiline trigger. The $ indicates the end of the first line, and the start of the next.
Reply with quote
Aarlot
Adept


Joined: 30 Dec 2003
Posts: 226

PostPosted: Thu Jan 08, 2004 8:35 am   
 
Thnx, worked nicely. Didn't know you could do multiple-line triggers... :D
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