|
Cronos Novice
Joined: 06 Sep 2004 Posts: 30
|
Posted: Sun Jan 06, 2008 4:25 am
Trigger to Do X if message Y appears |
#TRIGGER {^{You heal yourself.|You fail to heal yourself.}} {#WA 4000; heal}
I can't get this to work. I'm trying to create a trigger which if either the first two is encountered, I try to heal again in 4 seconds. Any ideas? |
|
|
|
Cronos Novice
Joined: 06 Sep 2004 Posts: 30
|
Posted: Sun Jan 06, 2008 6:14 am |
I think I figured it out, it was the ^ that was throwing it off.
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Sun Jan 06, 2008 6:17 am |
First of all, you don't want the #wait in your trigger. You should have it as:
Code: |
#TRIGGER {^You {fail to heal|heal} yourself.} {#ALARM +4 {heal}} |
That works for me, so it should work for you. Also, make sure your trigger phrases are correct.
Charneus
Just saw your new post. Wanted to point out that the ^ anchors it, meaning that the line starts with "You." If you have a prompt in front of it, then it won't work. If there are spaces in front of it, then it won't work. It has to start a fresh line with "You." Just some info. |
|
|
|
|
|