Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Latent
Apprentice


Joined: 19 Aug 2002
Posts: 120
Location: USA

PostPosted: 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...
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Jul 09, 2003 10:33 pm   
 
The part that has }{ should have a space between the braces. Like:
} {
Reply with quote
Latent
Apprentice


Joined: 19 Aug 2002
Posts: 120
Location: USA

PostPosted: Wed Jul 09, 2003 11:24 pm   
 
Thank you Kjata!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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