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


Joined: 07 Aug 2002
Posts: 17

PostPosted: Tue Aug 13, 2002 12:19 am   

Converting path directions to 'english'
 
Is there an easy way to get a path to a room in the commands zMUD would actualy send to the MUD or do I have to go through it and translate 'k' to southwest on my own, etc...

-- LZenner
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Aug 13, 2002 4:39 am   
 
quote:

Is there an easy way to get a path to a room in the commands zMUD would actualy send to the MUD or do I have to go through it and translate 'k' to southwest on my own, etc...

-- LZenner





path directions are pretty much used internally by ZMud for use with the pathing commands/functions. Any translations of these directions will have to be done manually, although you can easily make a function out of it:

#FUNCTION GetEngDir {%case(%ismember(%1, "n|e|s|w|h|j|k|l"), north, east, south, west, northwest, northeast, southwest, southeast)}

You'll have to add your own custom directions, though.

li'l shmoe of Dragon's Gate MUD
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