|
Silver-Knight Newbie
Joined: 17 Jan 2003 Posts: 3
|
Posted: Tue Jan 21, 2003 6:42 am
How to trigger with exceptions |
I'm trying to create a trigger that will activate for a certain set of strings, but not if another string is in the input line. Will this work?
#TR {({A|B|C})^{D}} {adv %1} |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Jan 21, 2003 8:37 am |
#TRIGGER {^({Broken|Slow|Rusty}) {^cars}} {say Bah! Its %1}
That should match:
Broken toys
Slow service
Rusty pliers
etc
and not
Broken cars
Slow cars
Rusty cars
Ton Diening |
|
|
|
|
|