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: Mon May 09, 2011 8:30 am   

The #all command
 
I was not hitting the shift # for the start of the #all command. when in the heat of battle, you have to really look to know you have got it. ( not a typist)
So tried of typing ( shift ) #all blah blah , to get your other windows character to do something. use this
alias /
#exec #all {%1 %2 %3;}
Then in the command line just use the / and the the command. eg: / drink

<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<alias name="/" copy="yes">
<value>#exec #all {%1 %2 %3;}
</value>
</alias>
</cmud>

If noone can see any problems with this I move it to finished scripts
_________________
Entropy rules
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Mon May 09, 2011 12:48 pm   
 
That looks fine (though I can't say that I've tested it), and something like that has been suggested before. But you do realize that the Finished Scripts forum is for Zmud scripts, not Cmud scripts? There is no equivalent for Cmud scripts, except the Package Library (which is something a bit different).

Also, I would suggest the following, so you don't need to specify how many parameters are in the command:
#exec #all {%params}
Reply with quote
Sutex-Kindred
Apprentice


Joined: 26 Aug 2009
Posts: 141

PostPosted: Mon May 09, 2011 12:55 pm   
 
Thanks , I like neat
_________________
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