|
Godfrey123456 Beginner
Joined: 17 Feb 2002 Posts: 18 Location: Hong Kong
|
Posted: Fri Feb 22, 2002 5:36 am
questions about #walk |
By the help file, I have to use the command in this way : #walk(id)
As each room has a unique number, can I tell the mapper to walk to a room in terms of room number instead of short name ? It's quite complicated to mark all rooms with shortnames in a large map.
Godfrey. |
|
|
|
EdwinDroom Wanderer
Joined: 25 Jan 2002 Posts: 77 Location: Ireland
|
Posted: Fri Feb 22, 2002 5:40 am |
yep, absolutely - same idea...
#walk vnum
where vnum is simply the room number
All the best freaks are here, please stop staring at me |
|
|
|
Godfrey123456 Beginner
Joined: 17 Feb 2002 Posts: 18 Location: Hong Kong
|
Posted: Fri Feb 22, 2002 5:45 am |
Thank you :)
|
|
|
|
Godfrey123456 Beginner
Joined: 17 Feb 2002 Posts: 18 Location: Hong Kong
|
Posted: Fri Feb 22, 2002 6:06 am |
another question related is that, according to the help file again, to retreive a room number, I have to use a function.
%roomnum(room)
what does the "room" means ? full or short name ?
And if I am in the room, can I use %roomnum(this) to retreive the current room number ? |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Feb 22, 2002 1:33 pm |
In
%roomnum(room)
room is either a short name for the room, a virtual room number or nothing.
The second one doesn't help you very much unless you are trying to use the %roomnum function to change the virtual number of some room (which can be done.)
If you leave room blank, it will return the room number of the room you are currently in. That is, you use
%roomnum()
to get the room number you are currently in.
Kjata |
|
|
|
|
|