 |
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: 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? |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Jan 17, 2006 10:02 pm |
Try using #EXEC.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
 |
|
|