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
Josiah.Bruns
Apprentice


Joined: 04 Mar 2007
Posts: 103

PostPosted: Tue Aug 25, 2009 11:27 pm   

having trouble getting use to CMUD
 
ok so i am playing 4 chars at once. and i have 4 windows and each window has its own classes. currently i am repeating my pathing commands in each window. is there a way to have the windows inherit somehow?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Wed Aug 26, 2009 4:16 am   
 
You can use the #ALL to send the command(s) to all windows.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Aug 26, 2009 4:03 pm   
 
You need to create a Shared Module that contains all of the commands/scripts/etc that you want to share between your windows. Go into the settings editor and use the New/Package to create a shared package. Move the scripts you want to share to this package. Then make sure this new package is enabled for each of your four character windows.
Reply with quote
Josiah.Bruns
Apprentice


Joined: 04 Mar 2007
Posts: 103

PostPosted: Wed Aug 26, 2009 7:45 pm   thanks zugg
 
Thanks zugg
Reply with quote
Josiah.Bruns
Apprentice


Joined: 04 Mar 2007
Posts: 103

PostPosted: Wed Aug 26, 2009 8:22 pm   saving variables to new package
 
can i save the variables to the new packaga?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Wed Aug 26, 2009 9:19 pm   
 
Yes you can.

You can access them explicitly using the following format:
Code:

//ModuleName/ClassName/VariableName=2
#SHOW @//ModuleName/ClassName/VariableName


If you don't use the fully qualified name CMUD can still find them, but it will use scoping rules to do so.
_________________
Asati di tempari!
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