About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Dec 05, 2006 12:41 am   

[1.19] Events calling an alias
 
Events that call an alias don't fire the alias but send the command as is.

#ALIAS test {#SAY OK}
#EVENT onLogin {test}
#RAISE onLogin

output: test
expected: OK

As a workaround you can use #EXEC test.
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Dec 05, 2006 7:47 pm   
 
Actually, I just entered your above example into v1.19 and it displayed "OK" for me. All I did was run CMUD, close the session window, then paste

#ALIAS test {#SAY OK}
#EVENT onLogin {test}
#RAISE onLogin

into the command line and press Enter. Could you have something wierd set in your preferences?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Dec 05, 2006 11:57 pm   
 
I think it was related to http://forums.zuggsoft.com/phpbb/viewtopic.php?p=102335

The only prefrence I have changed was "auto clear input".
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Dec 06, 2006 2:35 pm   
 
#ALIAS test {#SAY OK}
#EVENT onLogin {test}
#RAISE onLogin

When I paste it into a new session I get
OK
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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