Alright, I'm tired of browsing the forum for an answer to this question. Just feel impossible to find anything ever :/
Back the topic..
Zenigra stands an Aeon tarot on his open palm, and blows it lightly at Enteri.
Juganothion stands an Aeon tarot on his open palm, and blows it lightly at
Juganothion.
I want to match these two. The single line is easy to match, just do a simple: "^w+ stands an Aeon tarot on (his|her) open palm\, and blows it lightly at \w+\.$"
The multiline however is where I'm having problems, since I dont know exactly where the line break will show up this is what I'm using: "^\w+ stands an Aeon tarot on (his|her) open palm\, and blows it\s{1,2}lightly\s{1,2}at\s{1,2}\w+\.$"
This triggers perfectly, but for some freaking reason it triggers the single line too.. So it calls the function I want to call, but twice. (To clarify, the multiline trigger is called twice by the single line, even though I've specified it to match two lines)
<triggers>
<trigger
enabled="y"
lines_to_match="2"
match="^(\w+) stands an Aeon tarot on (his|her) open palm\, and blows it\s{1,2}lightly\s{1,2}at\s{1,2}(\w+)\.$"
multi_line="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note("called")</send>
</trigger>
</triggers>
I've tried with and without evaluate.
And since the multiline trigger, triggers both the single line and the multiline it would be awesome if I could just get it to be called once. |