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
airloom
Beginner


Joined: 18 May 2003
Posts: 10
Location: USA

PostPosted: Wed Jul 23, 2003 2:05 am   

trigger trouble
 
I'm trying to set a trigger to sip health and aliases to turn it on and off. I keep getting a syntax error. If anyone can help it will be much appreciated. thanks

patern: You may drink another health or mana elixer.

Value: #var siphealth 1 and %if( @autosip=1, sip health)
^
Syntax error

That is the problem I'm having??

For for the aliaes I have
hon value #var autosip 1
hoff value #var autosip 0.
not sure if those will work if my trigger changes so if you can help thanks.
Airloom
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jul 23, 2003 3:12 am   
 
These are separate commands. Since you appear to be using the editor, you need to put them on separate lines. Also, you should use #IF since you intend to send a command to the MUD.

Value: #var siphealth 1
#IF (@autosip=1) {sip health}
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