Join flood detection
Posted by Byte
Sunday, June 20, 2004
Description: Detects join floods in any channel

; This will be set off during a net.join :|
on *:join:#: {
  inc -u1 %join.1. [ $+ [ $chan ] ]
  inc -u4 %join.5. [ $+ [ $chan ] ]
  if (%join.1. [ $+ [ $chan ] ] == 4) || (%join.5. [ $+ [ $chan ] ] == 8) {
    echo 4 -ta Possible join flood in $chan ( $+ $nick($chan,0) users)
    if ($active != Status Window) echo 4 -ts Possible join flood in $chan ( $+ $nick($chan,0) users)
    beep 1
  }
}
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world