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
PhelinxSnoopy
Newbie


Joined: 28 Mar 2013
Posts: 7

PostPosted: Thu Mar 28, 2013 5:30 pm   

Multiple Characters windows and aliases
 
I can get an alias from another character window to work if i use :emmy: he Darkon, this will cast heal on Darkon. The issue is I don't want to have to type out :emmy: each time so I made an alias for it. #alias {mm} {:emmy: %-1}. When I do 'mm he Darkon' in the emmy window i see he Darkon but the alias in that session does not seem to be called.

There has to be something I am missing.


Thanks for the help.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Thu Mar 28, 2013 5:31 pm   
 
Try using the #EXECWIN command instead.
Reply with quote
PhelinxSnoopy
Newbie


Joined: 28 Mar 2013
Posts: 7

PostPosted: Thu Mar 28, 2013 5:49 pm   
 
it sends 'he Darkon' to the window. but does not run the alias in that window emmy I want it to be able to use the alias he in the emmy window. he is cast 'heal' %-1. but instead i get a message there is no help file for Darkon.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Thu Mar 28, 2013 6:02 pm   
 
And you're using the code #EXECWIN emmy {he %-1} ? I just tested it and #EXECWIN definitely does run aliases...
Reply with quote
PhelinxSnoopy
Newbie


Joined: 28 Mar 2013
Posts: 7

PostPosted: Thu Mar 28, 2013 6:13 pm   
 
no I am using #alias {mm} {#EXECWIN emmy {%-1} then i type mm he Darkon the he alias in the package file emmy in that i log in with on emmy character. I want to be able to use the alias from the emmy package file.

In zmud i used to be able to do with but broke when i converted my file to cmud.

If i manual type :emmy: he darkon it works, but if i do it from and alias to the emmy window it just send information as plan text of he darkon and it will not run the he alias from the package in the emm window. My main mussing window uses Tank and the tank package. So from the tank window i get my second charcter to do what i need it to do without having to switch to that window. Sometimes heal me or cast group fly or any of the other alias's in its own file.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Thu Mar 28, 2013 7:00 pm   
 
Ah, that's why. I assumed you had the he in your #execwin command. You'll need to use this instead:
Code:
#alias mm {#EXECWIN emmy {#EXEC %-1}}
Reply with quote
PhelinxSnoopy
Newbie


Joined: 28 Mar 2013
Posts: 7

PostPosted: Thu Mar 28, 2013 7:10 pm   
 
Thank you so much this works.

Wonder why this is so much more difficult in cmud than zmud.
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