numerical spam flooding


image

on $*:TEXT:/\d{35,}/Si:#: { !ban -k $chan $nick 2 Repeated flooding }


/spamfilter add -posix cpnN warn - numeric_spammer \d{50,}

Expand


Read More

Modified whois


image

raw 311:*:echo -a - | echo -a 14311: $2 is $3 $+ @ $+ $4 $5- | halt
raw 312:*:echo -a 14312: $2- | halt
raw 317:*:echo -a 14317: $2 Idle: $duration($3) , Signon: $asctime($4) | halt
raw 318:*:echo -a 14318: $2- | echo -a - | halt
raw 319:*:echo -a 14319: $2- | halt
raw 325:*:echo -a 14325: $2- | halt

Expand


Read More

Ban users via IP


image

on *:ban:#:{
  set %banned $2-
  if ($bnick != $null) && ($bnick != $me) && ($ialchan(%banned,#,0) == 0) { kick # $bnick BANNED | return }
  if ($gettok($address($me,2),2,64) isin $ialchan(%banned,#,1)) { halt | return }
  else {
    set %totalz $ialchan(%banned,#,0)
    :start
    inc %lqlq
    if (%lqlq > %totalz) { goto end | return }
    else {
      kick # $ialchan(%banned,#,%lqlq).nick BANNED
      goto start
    }
    :end
    unset %lqlq
    unset %totalz
  }
}

Expand


Read More