 |
ToyMage Apprentice
Joined: 01 Sep 2005 Posts: 120
|
Posted: Sat Oct 08, 2005 11:08 am
#SHOWPATH |
Hi,
when I use #SHOWPATH XXX, it shows the direction in abbreivated form,
.2n2s2e2w
is there any way to force it to display in expanded form?
.nnsseeww
Thanks |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Oct 08, 2005 8:04 pm |
yes, #SHOWPATH %pathexpand(.2n2s2e2w)
|
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
ToyMage Apprentice
Joined: 01 Sep 2005 Posts: 120
|
Posted: Mon Oct 10, 2005 6:26 am |
Dear Wizard,
It shows it as n|n|e|e|s|s|w|w... which isn't exactly usable.
My mud 'Lensmoor' has a speedwalk function, to use the function it would be "SW nneessww" without the "|".
How can i do this? |
|
|
 |
nexela Wizard

Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Mon Oct 10, 2005 10:35 am |
%replace(%pathexpand(.2n2s2e2w),"|","")
|
|
|
 |
|
|