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
Gatsby
Novice


Joined: 19 Dec 2006
Posts: 30

PostPosted: Thu Nov 08, 2007 8:24 am   

remembering last room?
 
Greetings,

Sometimes I have to run urgently to my guild, do some stuff and come back where I was...

#MATH LastRoom %roomnum
#VAR LastZone %zonename
#WALK 46 Guild

to get back I used

#WALK @LastRoom @LastZone

This sends me to a room, but usually in hte wrong zone (which can be VERY annoying depending on that zon :)

I wonder if it is because all my zonenames are like Russia-Siberia_Putin (just an example)

Would it treat @LastZone as an expression because of the "-" inthere?

Secondly, isn't there a way to get the absolute num of the room (the I see when hovering my mouse over the room) so I don't have to worry about zones?

TIA,

Gats
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Nov 08, 2007 3:26 pm   
 
Yes, change the configuration in the mapper. In the Interface section there is the option Use RoomID value instead of vNum. Once you set that the value you get for %roomnum will always be unique and you don't need the zones for your #WALK.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Gatsby
Novice


Joined: 19 Dec 2006
Posts: 30

PostPosted: Mon Nov 12, 2007 12:32 pm   
 
Thanks alot Vijilante. Works beautifully.

Changed the config as suggested and just set a %roommode (1) and used %roomkey instead of %roomnum

Gats
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