Triggers:
And at the next prompt I do this:
Why do I get this when the three triggers hit? Note that I don't get it sometimes.
And my regular prompt trigger doesn't fire also, the usual prompt trigger is set to modify the prompt.
Any ideas why this is happening?
<trigger
enabled="y"
group="Warrior"
lines_to_match="2"
keep_evaluating="y"
match="^[A-Z][a-z]+ swings (.*) at you(?:.*)?\."
regexp="y"
send_to="12"
sequence="100"
>
<send>EnableTriggerGroup ("Poisons")
if (string.find("%1", "rapier")) or (string.find("%1", "scimitar")) or (string.find("%1", "broadsword")) or (string.find("%1", "longsword")) then
EnableTriggerGroup ("BM")
end </send>
</trigger>
<trigger
group="BM"
lines_to_match="2"
match="[A-Z][a-z]+ \w+ your (right|left) (arm|leg)\, striking a major artery that splurts blood in all directions\.$"
multi_line="y"
name="bm_aff_artery"
regexp="y"
script="add_artery"
send_to="12"
sequence="50"
>
</trigger>
And at the next prompt I do this:
<trigger
keep_evaluating="y"
match="^(\d+)h\, (\d+)m\, (\d+)e\, (\d+)p\, (\d+)en\, (\d+)w (\w+)\-$"
name="cond_prompt"
regexp="y"
send_to="12"
sequence="50"
>
<send>EnableTriggerGroup ("Poisons", false)
EnableTriggerGroup ("BM", false)</send>
</trigger>
Why do I get this when the three triggers hit? Note that I don't get it sometimes.
Razeal swings a spider-hilted rapier at you. Razeal cuts your right leg, striking a major artery that splurts blood in all directions.
** ARTERY_RIGHTLEG **
2300h, 2790m, 3000e, 10p, 21007en, 13018w ek-
** ARTERY_RIGHTLEG **
And my regular prompt trigger doesn't fire also, the usual prompt trigger is set to modify the prompt.
Any ideas why this is happening?