|
airloom Beginner
Joined: 18 May 2003 Posts: 10 Location: USA
|
Posted: 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 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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} |
|
|
|
|
|