Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Mondor
Novice


Joined: 26 Nov 2008
Posts: 33

PostPosted: Sun Mar 01, 2009 8:51 pm   

How to update predefined system variables
 
I had reason to use %char in a trigger. When I tested #echo %char, it gave me the name of the first character I originally made for this session, not the current one I am logged in with.

Is there a way to update this variable, either programmatically or manually changing a configuration file? I could find it
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Sun Mar 01, 2009 10:28 pm   
 
%char uses (afaik) the character name used in the autoconnect properties for the session. You can change it by opening up the sessions dialog, selecting the appropriate session, edit session, select the auto login tab, and filling in the appropriate space.

If you're using multiple characters in the same game, you'll probably want separate sessions for each of them and then general packages shared between sessions.


Last edited by gamma_ray on Tue Mar 03, 2009 7:32 am; edited 1 time in total
Reply with quote
Mondor
Novice


Joined: 26 Nov 2008
Posts: 33

PostPosted: Mon Mar 02, 2009 8:12 pm   
 
Your suggestion was correct. I had turned off autoconnect and was logging in to whatever character I wanted at the time. When I changed the name in the session edit, %char reflected this change.

Thanks, Gamma
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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