 |
Sinme Newbie
Joined: 05 Jun 2003 Posts: 2
|
Posted: Thu Jun 05, 2003 6:25 am
Logical OR Trigger? |
Is there anyway to have a trigger fire if either of two possibilities occur?
e.g. #TRIGGER {You need to rest "OR" You are very tired} {sleep} |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Jun 05, 2003 7:55 am |
Yes, but its simpler and faster to just use two triggers.
#TR {You need to rest} {sleep}
#TR {You are very tired} {sleep}
From the Pattern Matching helpfile:
{val1|val2|val3|...} match any of the specified strings can not use other wildcard inside this
#TR {{You need to rest|You are very tired}} {sleep}
LightBulb
Advanced Member |
|
|
 |
DeathofOne Beginner
Joined: 03 Jun 2003 Posts: 25
|
Posted: Thu Jun 05, 2003 1:59 pm |
#TR {{You need to rest|You are very tired}} {sleep}
Instead use
#TR {You {need to rest|are very tired}} {sleep}
This will help it fire faster just by a bit |
|
|
 |
|
|