Here's a minimal test case:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<muclient>
<plugin
name="TEST"
author="Fiendish"
id="52766ef28a7a682387d59687"
language="Lua"
purpose="Test"
date_written="2020-12-30 00:00:00"
version="1.00"
>
</plugin>
<aliases>
<alias
script="test"
match="test"
enabled="y"
sequence="100"
ignore_case="y"
>
</alias>
</aliases>
<triggers>
<trigger
enabled="n"
match="*"
sequence="100"
send_to="12"
name="test"
>
<send>
EnableTrigger("test", false)
local input = utils.inputbox("Hi", "Hello", "Value")
</send>
</trigger>
</triggers>
<script>
<![CDATA[
function test()
EnableTrigger("test", true)
Send("echo FIRST MESSAGE")
Send("echo SECOND MESSAGE")
end
]]>
</script>
</muclient>
I connect to Aardwolf with an empty world that has only this plugin loaded in it and then type "test" to activate the alias. I see:
echo FIRST MESSAGE
echo SECOND MESSAGE
FIRST MESSAGEFIRST MESSAGE
SECOND MESSAGE
If I remove EnableTrigger("test", false) from the trigger script, the situation gets much worse with spawning many input boxes, and then this might happen while I'm frantically trying to close them:
echo FIRST MESSAGE
echo SECOND MESSAGE
FIRST MESSAGEFIRST MESSAGE
FIRST MESSAGE
FIRST MESSAGE
FIRST MESSAGE
SECOND MESSAGE
{-=Masaki=-} Hassaikai Yakuza: dont really care mate
WARFARE: Genocide has been declared by Ivar for levels 1 to 18!
WARFARE: The preparation grounds shall close in approx 2 minutes!
WARFARE: Type 'combat' to join the war. No death penalties!
SECOND MESSAGE
{-=Masaki=-} Hassaikai Yakuza: dont really care mate
SECOND MESSAGE
{-=Masaki=-} Hassaikai Yakuza: dont really care mate
SECOND MESSAGE