From 9cf229c13d74d9898d5dbbf08c159e1c2c1e2264 Mon Sep 17 00:00:00 2001 From: Brandon Cornejo Date: Tue, 10 Feb 2026 19:26:05 -0600 Subject: [PATCH] Handle new 'X dies.' lines from bleeding etc for spottimers --- src/spottimers.tin | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/spottimers.tin b/src/spottimers.tin index a8bdc95..8b7c093 100644 --- a/src/spottimers.tin +++ b/src/spottimers.tin @@ -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} { #var {spotname} {%1}; #var {spottime} {%2};