https://mushclient.com/scripts/doc.php?function=StopEvaluatingTriggers implies that using StopEvaluatingTriggers outside of SendToScript _should_ affect other plugins, but that it just won't affect the current plugin. That's fine. That's what I want anyway. Except it doesn't work. The following two plugins together keep printing "test 1\ntest 2" instead of only "test 1"
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
name="test_trigger_1"
author="Fiendish"
id="b0ba651e71e0c226a60ae8f1"
language="Lua"
date_written="2014-04-08 09:43:19"
requires="4.90"
version="1.0"
sequence="-5000"
>
</plugin>
<triggers>
<trigger
name="all"
enabled="y"
match="^(.*)$"
omit_from_output="n"
regexp="y"
sequence="100"
script="test_1"
></trigger>
</triggers>
<script>
function test_1()
print("test 1")
StopEvaluatingTriggers(true)
end
</script>
</muclient>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
name="test_trigger_2"
author="Fiendish"
id="b0ba651e71e0c226a60ae8f2"
language="Lua"
date_written="2014-04-08 09:43:19"
requires="4.90"
version="1.0"
>
</plugin>
<triggers>
<trigger
name="all"
enabled="y"
match="^(.*)$"
omit_from_output="n"
regexp="y"
sequence="100"
script="test_2"
></trigger>
</triggers>
<script>
function test_2()
print("test 2")
end
</script>
</muclient>