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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
jed
Adept


Joined: 18 Dec 2005
Posts: 246

PostPosted: Sat Jan 27, 2007 5:14 pm   

setting up cmud for multiple chars
 
I'm starting to use Cmud to run different characters on the same mud, not at the same time as in multiplaying, I simply have different characters that i log in from time to time. My question is this, what is the best way to deal with script differences between characters? Is it best to create one package, then code in different actions if %char = my first char or something like that, or is it better to set up a "general" package then an individual one for each of the other chars I have, or is there another solution?
Thanks
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Jan 27, 2007 10:53 pm   
 
Probably best if you put each distinctive script in its own package, though that would be impossible if many of them had to interact (while packages CAN do so, they aren't really supposed to). This will then allow you to control which packages are loaded for each character you log in with, which you can edit as needed via the Character Properties.
_________________
EDIT: I didn't like my old signature
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Jan 28, 2007 8:58 am   
 
Put scripts to want both characters to have in their own package and add that package to the list of packages loaded with the session (Rclick on the session icon, edit, files tab, press the green plus to add items to the list). Scripts you don't want shared can go in each session's package.

Using %char would be the easiest way to reference the character's name, but I'm surprised how little I actually have to use that.

NB: Create a NEW package for those shared scripts, by the way.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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