|
Pantalones Rojo Newbie
Joined: 25 Oct 2004 Posts: 4 Location: Michigan
|
Posted: Fri Oct 29, 2004 12:51 am
Trigger pattern on multiple lines |
Hey everybody
What I'm trying to do is make a trigger for the pattern "%1 strikes your left arm, striking a major artery which splurts blood in all directions."
My problem is that "1% strikes your left" is on one line, and "striking a major artery which splurts blood in all directions." is on the line under it. Is there a way to make a trigger match this?
Thanks (and sorry if the splurting blood upset anyone), |
|
_________________ --Pantalones Rojo |
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: Fri Oct 29, 2004 2:32 am |
#trigger {* strikes your}
#COND {striking a major artery which splurts blood in all directions.} {<Insert Commands>} {within|param=1} |
|
|
|
DustyShouri Novice
Joined: 29 Oct 2004 Posts: 34
|
Posted: Fri Oct 29, 2004 1:28 pm |
My friend taught me this, thought I don't know if it's inefficient or not:
#trigger {^1% strikes your left$^striking a major artery which splurts blood in all directions.$} {input}
So you can make as many lines as you want:
#trigger {^line one$^line two$^line three$} {input}
But it works for me |
|
|
|
ttsang Newbie
Joined: 17 Oct 2004 Posts: 4 Location: Canada
|
Posted: Fri Oct 29, 2004 1:54 pm |
u use STATE TRIGGER allows u to do that i think
|
|
_________________ Timothy C. Tsang
Specialization in Actuarial Science
The University of Western Ontario
London, Ontario, Canada
ttsang5@uwo.ca |
|
|
|
Vorax Apprentice
Joined: 29 Jun 2001 Posts: 198 Location: USA
|
Posted: Fri Oct 29, 2004 3:13 pm |
You should use a valid wild card to replace your "1%" in your pattern.
|
|
|
|
Pantalones Rojo Newbie
Joined: 25 Oct 2004 Posts: 4 Location: Michigan
|
Posted: Fri Oct 29, 2004 7:48 pm |
Ok everybody, thanks a lot for your help.
|
|
_________________ --Pantalones Rojo |
|
|
|
|
|