For years, and for several versions, I've had a multi-line trigger in one of my plugins. I've since upgraded (using Fiendish's update installer for AardMUSH, which incorporates v5.05), and my plugin stopped working.
After some debugging, it was discovered the multi-line trigger was not firing. I set it to a single line, and it worked. Curious, I set up the same trigger locally and disabled the plugin. The trigger did not fire. See the trigger below:
Should match:
This trigger was created by highlighting the two lines, right-clicking, and choosing the Multi-Trigger option. This is off "gamestat 5" in Aardwolf, though you can Simulate it, as well.
Did something change that would cause this to no longer work? I can do a workaround by using an 'EnableTrigger' for each line I want to work with, but that's not very efficient.
Also, ugh, the cursed anti-spam... can't edit the post when crucial information is missing, and that's irritating. *sigh* Should not apply to edits of your own post...
After some debugging, it was discovered the multi-line trigger was not firing. I set it to a single line, and it worked. Curious, I set up the same trigger locally and disabled the plugin. The trigger did not fire. See the trigger below:
<triggers>
<trigger
enabled="y"
group="Multi Line"
lines_to_match="2"
keep_evaluating="y"
match="for lines marked \'\*\'\. See \'help gamestat\' on those\.\n\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\Z"
multi_line="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>Note("Multi-line fired!")</send>
</trigger>
</triggers>
Should match:
for lines marked '*'. See 'help gamestat' on those.
-------------------------------------------------------This trigger was created by highlighting the two lines, right-clicking, and choosing the Multi-Trigger option. This is off "gamestat 5" in Aardwolf, though you can Simulate it, as well.
Did something change that would cause this to no longer work? I can do a workaround by using an 'EnableTrigger' for each line I want to work with, but that's not very efficient.
Also, ugh, the cursed anti-spam... can't edit the post when crucial information is missing, and that's irritating. *sigh* Should not apply to edits of your own post...