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
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Jan 17, 2006 9:03 am   

Using %pathfrom
 
I'd like to have a series of commands completed one after the other. If I use #slow <path> it will begin executing the path and then advance to the next command. If I enter the path with .<path> it behaves properly by not advancing until it has completed the path. I can get the path with %pathfrom, but if I try to do this:

%pathfrom(, <roomnum>)

It won't work. It tries to send the path string to the mud instead of interpriting it and executing it. So I need to figure out how to get it to execute it instead of trying to just evaluate and send to mud.

Also, does anyone know of a way to reverse the %roomid function to get a room number from a shortname instead of a shortname from a roomnumber like it does with %roomid?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jan 17, 2006 10:02 pm   
 
Try using #EXEC.
_________________
EDIT: I didn't like my old signature
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Jan 18, 2006 10:46 am   
 
You use %mapquery to get roomkeys or roomnums from the shortname. The field to query on is IdName.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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