|
Qweth Newbie
Joined: 10 Sep 2010 Posts: 5
|
Posted: 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 |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Mon Feb 28, 2011 10:48 pm |
What you want is a #PATH not an #ALIAS
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Qweth Newbie
Joined: 10 Sep 2010 Posts: 5
|
Posted: 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 .?
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: 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 |
|
|
|
|
|