Handle new 'X dies.' lines from bleeding etc for spottimers

This commit is contained in:
Brandon Cornejo 2026-02-10 19:26:05 -06:00
parent 23a8f63cf5
commit 9cf229c13d

View File

@ -350,6 +350,16 @@
}; };
}; };
#nop The smuggler captain dies.
#ACTION {^%1 dies.$} {
#foreach {*killtimers[]} {spot} {
#nop Force case insensitivity on the match due to "The" "A" being capitalized
#regex {%1} {%i$spot} {
#format {killtimers[$spot][time]} {%T};
};
};
};
#FUNCTION {write_spot} { #FUNCTION {write_spot} {
#var {spotname} {%1}; #var {spotname} {%1};
#var {spottime} {%2}; #var {spottime} {%2};