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
mj_cole
Wanderer


Joined: 19 Apr 2001
Posts: 59
Location: USA

PostPosted: Mon Jun 09, 2003 2:39 pm   

Rent locations for different chars.
 
On the mud I play, the various chars that you play are from the same account.

This means that the same map and triggers automatically work for all chars, but that if you rent in different locations, you have to setup you map each time you start with a new char.

Any ideas how to save the ID/vnum in s variable, and teleport to that room on login. I saw it should be possible, but couldnt figure out the command to get the current roo id.

Regards
Octogal on Sneezy
sneezy.saw.net 7900
http://sneezy.saw.net

Playing SneezyMUD v5.2
sneezy.stanford.edu 7900
Octogal
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Jun 09, 2003 3:45 pm   
 
%roomnum without any arguments should give you the current room ID or VNum, depending on your current setting. As for automatically having it teleport, you can use the atconnect alias which is executed when you connect. Check the %char pre-defined variable to find out what character you are using and then use #TELEPORT command with the correct variable.

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