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


Joined: 25 Sep 2003
Posts: 14

PostPosted: Sat Oct 04, 2003 1:54 pm   

Mapper question, path length
 
I want to know the length of the path the #walk command is about to take.

What is the command to find out the length of the path from current room to any given room I would #walk to? And if possible, is there a way to get the path without actually traversing it?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Oct 04, 2003 3:36 pm   
 
Use the %walk function instead. To calculate the length you would use %numitems(%pathexpand(%walk(targetroom))).
Reply with quote
lethe
Beginner


Joined: 25 Sep 2003
Posts: 14

PostPosted: Sat Oct 04, 2003 6:35 pm   
 
Thank you so much.
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