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: Mon Jul 28, 2003 11:36 pm   

still having trouble with this trigger
 
Lightbulb has responded a few time but I'm still having touble.
I'm trying to set a trigger to sip health and aliases to turn it on and off. I keep getting a syntax error Pointing at my brackets {}() Not shure why this is. The brackets are the problem and if I remove them the trigger wont work either. How do I fix it. THanks airloom

patern: You may drink another health or mana elixer.

Value: Value: #var siphealth 1 #IF (@autosip=1) {sip health}



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: Tue Jul 29, 2003 3:20 am   
 
I'm sorry, apparently I'm not being specific enough.

In the box labeled Value:, put this on the first line:
#var siphealth 1
Then hit the Enter key to get another line.
On the next line put:
#IF (@autosip=1) {sip health}
Then, click the Save button.

If you did it correctly, you'll have TWO lines in your Value: box which look like this:
#var siphealth 1
#IF (@autosip=1) {sip health}

If you did it wrong, you'll have ONE line which looks like this:
#var siphealth 1 #IF (@autosip=1) {sip health}
and has a syntax error message which says argument expected

I hope I made this clear enough. If not, I hope someone else will have more luck in explaining it to you. In any case, it would be better to reply to one of the existing threads instead of starting a new one. When people can see what answers you've already received it often helps them to figure out what you're having trouble understanding. When you keep starting new topics, there's no continuity which means the answers aren't likely to get any clearer.
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