I'm having problems with the "omit from output" part of a trigger. Here's the relevant code.
<trigger
enabled="y"
keep_evaluating="y"
match="^ ([A-Za-z]+) was in the sign of( the)? ([A-Za-z ]+)\.$"
omit_from_output="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>Nativity ("%1", "%3")</send>
</trigger>
function Nativity (a, b)
Note ("TESTING")
end
If I check omit_from_output, neither the line nor the Note shows up, even though the function is being called. How do I replace the triggered line with my line?
SAMPLE TRIGGER LINE:
Sun was in the sign of Dragon.
Thanks in advance
<trigger
enabled="y"
keep_evaluating="y"
match="^ ([A-Za-z]+) was in the sign of( the)? ([A-Za-z ]+)\.$"
omit_from_output="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>Nativity ("%1", "%3")</send>
</trigger>
function Nativity (a, b)
Note ("TESTING")
end
If I check omit_from_output, neither the line nor the Note shows up, even though the function is being called. How do I replace the triggered line with my line?
SAMPLE TRIGGER LINE:
Sun was in the sign of Dragon.
Thanks in advance