|
Latent Apprentice
Joined: 19 Aug 2002 Posts: 120 Location: USA
|
Posted: Wed Jul 09, 2003 10:02 pm
help on an alias |
I was wondering if anyone can help me fix this alias... it doesn't work when i use it
command name: autohealer
variable currently set to: 1
autohealer class currently enabled
#IF (@autohealer == 1) {
#VAR autohealer 0
osay Autohealer is now diabled.
#T- autohealer
}{
#VAR autohealer 1
osay Autohealer is now enabled! say replenish me or ressurect me to activate
#T+ autohealer
}
instead of triggering one part or the other, it outputs "{#VAR autohealer 0;osay Autohealer is now diabled.;#T- autohealer}{#VAR autohealer 1;osay Autohealer is now enabled! say replenish me or ressurect me to activate;#T+ autohealer}
" to the mud in one long line... |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Jul 09, 2003 10:33 pm |
The part that has }{ should have a space between the braces. Like:
} { |
|
|
|
Latent Apprentice
Joined: 19 Aug 2002 Posts: 120 Location: USA
|
Posted: Wed Jul 09, 2003 11:24 pm |
Thank you Kjata!
|
|
|
|
|
|