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
Qweth
Newbie


Joined: 10 Sep 2010
Posts: 5

PostPosted: Mon Feb 28, 2011 12:51 pm   

"reverse aliases"
 
The mud I play atm has a 'ride' feature where I can ride up to twenty rooms in one step. The command is 'ride <dir> <#>'
I was hoping to create a function (or by any other means) by which I can reverse an alias the same way .. reverses a path.

In particular, an alias such as this:

re 11;u;re;.ne;rn;.wn;rw;.sw;rs 2

would return:

rn 2;.en;re;.se;rs;.ws;rw;d;rw 11
( ^or ..sw)

I presume or maybe assume or even conclude that someone here will be able to resolve this easily.

Please and thank you,
Bob
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Mon Feb 28, 2011 10:48 pm   
 
What you want is a #PATH not an #ALIAS
_________________
Discord: Shalimarwildcat
Reply with quote
Qweth
Newbie


Joined: 10 Sep 2010
Posts: 5

PostPosted: Fri Mar 04, 2011 8:30 am   
 
I am a fool. In my previous post, the rn, rs, re, or rw each refer to an alias for "ride south" or "ride east", so the commands to the MUD are "ride south 2". Is it going to be possible to make a path which will send those commands and reverse them just by .. instead of .?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Fri Mar 04, 2011 8:47 pm   
 
hmm... That may be an issue... unless you want to go through the effort of making custom directions to replace the aliases so the mapper can understand it.
_________________
Discord: Shalimarwildcat
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