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
Sutex-Kindred
Apprentice


Joined: 26 Aug 2009
Posts: 141

PostPosted: Fri Mar 25, 2011 4:04 am   

Cmud multiple charater,buttons and replacing the ": command" from Zmud
 
This example below is to try and get some form of multi window coding for Cmud . So I will then have a reference to work with for all my other bits, and pieces. Replacing the " : " command

Code:
 

#BUTTON 1     {Follow Off}    {#t+ autofollow;
                      :halix:#t+ autofollow;
                      :zarlix:#t+ autofollow;#ec Ready}

                      {Follow On}    {#t- autofollow;
                      :halix:#t- autofollow;
                      :zarlix:#t- autofollow}

#BUTTON 2    {Food Off}       {#t+ food;
                      :halix:#t+ food;
                      :zarlix:#t+ food;:sutex:;#ec Food ON}
 
                     {Food On}    {#t- food;
                       :halix:#t- food;
                       :zarlix:#t- food;
                       :sutex:;#ec Food OFF}

#BUTTON 3     {Golem}   {:halix:order followers hit @target;
                                       :zarlix:order followers hit @target}

#BUTTON 4    {Class On}    {#T- Combat;
                      :halix:#T- Combat;:zarlix:#T- Combat;
                      :sutex:;#T- quickrescue;
                      :halix:#T- quickrescue;
                      :zarlix:#T- quickrescue;
                      :sutex:;#T- Charater;
                      :Halix:#T- Charater;
                      :zarlix:#T- Charater;
                      :Sutex:#ec Combat and Quickrescue triggers - disabled}

                    {Class Off}    {#T+ Combat;
                     :halix:#T+ Combat;
                     :zarlix:#T+ Combat;
                     :sutex:;#T+ quickrescue;
                     :halix:#T+ quickrescue;
                     :zarlix:#T+ quickrescue;
                     :sutex:;#T+ Charater;
                     :halix:#T+ Charater;
                     :zarlix:#T+ Charater;
                     :Sutex:#ec Combat and Quickrescue triggers - enabled}


#BUTTON 5    {Leader-Group}  {}    {Follow Master|Group all|Un-group|Follow leader} {:visible;
                      :follow @Master;:Halix:#T+ Combat;
                      :halix:#T+ quickrescue;
                      :zarlix:#T+ Combat;
                      :zarlix:#T+ quickrescue;
                      :sutex:#T+ Combat;
                      :sutex:#T+ quickrescue;#ec Combat and Quickrescue triggers - enabled|:dsv;group all;
                      :dress;group|:follow self|:visible;
                      :follow @leader;#ec Sutex Halix Zarlix Folowing @leader;say "&wCombat and Quickrescue triggers are disabled&n".. New leader set to @leader;say "&WSutex Halix and Zarlix&n" are ready @leader;gt ready @leader}

#BUTTON 6    {Halix|Zarlix|Sutex} {fh @groupmem}    {@groupmem}





Ok the code above is "part" of a text file that worked in Zmud. And is no way correct in it's current view, have delete elements so you can see the code, a bit more clearly. I would like help please with , the : command

In short what is above is about as confusing it gets with sending commands to all my other windows , by pushing one button
Any help in getting this mess to work in Cmud is greatly appreciated. The Cmud help manual , which I have been reading , is misleading with regard to the multi playing element, hence this post
Thanks
_________________
Entropy rules
Reply with quote
Myrkul
Wanderer


Joined: 21 Aug 2008
Posts: 85

PostPosted: Fri Mar 25, 2011 12:00 pm   
 
[edit][/edit]


Last edited by Myrkul on Thu Apr 14, 2011 10:56 pm; edited 1 time in total
Reply with quote
Sutex-Kindred
Apprentice


Joined: 26 Aug 2009
Posts: 141

PostPosted: Fri Mar 25, 2011 5:13 pm   
 
When I tried testing the :windowname:commands , it did not work. This is before the posting ,and after reading the manual part concerning this topic.
I'll look again. I did read that the : command has been replaced by the all command , and also that parts of the Cmud manual are old Zmud manuals parts. I did try to just copy the text file to the command line and hit enter , but anything with the : would not work. The editor send function to test a trigger , didn't either. Think I need to rewrite, it all from scratch.
Any suggestion on that , is their another way. ?
_________________
Entropy rules
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