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


Joined: 17 Feb 2002
Posts: 18
Location: Hong Kong

PostPosted: 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.
Reply with quote
EdwinDroom
Wanderer


Joined: 25 Jan 2002
Posts: 77
Location: Ireland

PostPosted: 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
Reply with quote
Godfrey123456
Beginner


Joined: 17 Feb 2002
Posts: 18
Location: Hong Kong

PostPosted: Fri Feb 22, 2002 5:45 am   
 
Thank you :)
Reply with quote
Godfrey123456
Beginner


Joined: 17 Feb 2002
Posts: 18
Location: Hong Kong

PostPosted: 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 ?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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
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