From 985dcb2901d2527b79976df787035425294200b9 Mon Sep 17 00:00:00 2001 From: fireonlive Date: Fri, 9 Aug 2024 19:04:10 +0000 Subject: init --- forwardedSpamProtection.tcl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 forwardedSpamProtection.tcl (limited to 'forwardedSpamProtection.tcl') diff --git a/forwardedSpamProtection.tcl b/forwardedSpamProtection.tcl new file mode 100644 index 0000000..45ac554 --- /dev/null +++ b/forwardedSpamProtection.tcl @@ -0,0 +1,10 @@ +# born after accidentally triggering hackint's spambot warnin + +bind rawt * 470 gotForwarded + +proc gotForwarded {from keyword text tags} { + set fromChan [lindex [split $text] 1] + set toChan [lindex [split $text] 2] + channel set $fromChan +inactive + putserv "PRIVMSG #fire-trail :\[forward protection\] got forwarded from $fromChan to $toChan, set $fromChan as inactive" +} -- cgit v1.3.1-10-gc9f91