The docs for StopEvaluatingTriggers says
I've found this to not be true. Maybe I'm missing something?
Prints hello, but doesn't seem to actually stop triggers.
Of course does.
Quote:
However calling StopEvaluatingTriggers (true) in a script would still stop evaluation of triggers in other plugins.
However calling StopEvaluatingTriggers (true) in a script would still stop evaluation of triggers in other plugins.
I've found this to not be true. Maybe I'm missing something?
<trigger
enabled="y"
match="^{say}(?<msg>.*)"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
...
function chats()
print("hello")
StopEvaluatingTriggers (true)
end
Prints hello, but doesn't seem to actually stop triggers.
<trigger
enabled="y"
match="^{say}(?<msg>.*)"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"
send_to="12"
><send>StopEvaluatingTriggers(true)</send></trigger>
Of course does.