diff options
| author | 2024-08-09 19:04:10 +0000 | |
|---|---|---|
| committer | 2024-10-23 00:39:49 -0600 | |
| commit | 985dcb2901d2527b79976df787035425294200b9 (patch) | |
| tree | d49caf539627b062c3e8406854ffbc214804661c /forwardedSpamProtection.tcl | |
init
Diffstat (limited to 'forwardedSpamProtection.tcl')
| -rw-r--r-- | forwardedSpamProtection.tcl | 10 |
1 files changed, 10 insertions, 0 deletions
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" +} |
