|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: 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. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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? |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: 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 |
|
|
|
|
|