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
jallen0
Beginner


Joined: 10 May 2007
Posts: 11

PostPosted: Thu May 10, 2007 7:56 pm   

Automatic location
 
Is there a script that will automatically update my position on the map. I know that it follows me ususlly, but if I flee, I need to know what room I fled into automatically?

Thanks
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu May 10, 2007 8:11 pm   
 
No but you can use a trigger to do so.

One option is to do a trigger like this...

#TRIGGER {You flee ({west|east|south|north|up|down})} {#MOVE %1}

another alternative if you don't know what direction you flee in is...

#TRIGGER {You flee like the brazen coward you are...} {#FIND }

This will have the mapper try to find where you are on the map. This is not a 100% accurate though, it depends on how good you mapper configuration/slash mapping scripts are and how unique your MUD rooms are. I've noticed in some MUD the room description, name etc gets a little generic or repetitive so the mapper will point you to first one it encounters based on calculation. This usually isn't an issue, but it is something to be aware of.
_________________
Asati di tempari!
Reply with quote
jallen0
Beginner


Joined: 10 May 2007
Posts: 11

PostPosted: Thu May 10, 2007 8:35 pm   
 
Tech,

Thanks for the clue. When I flee in my mud, there is no response, you just fle. But I made an alias to use the #Find command. It's not automatic, but it seems to work.

Thanks
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