daily pastebin goal
48%
SHARE
TWEET

PRIVMSG "attack" protection

Seb May 20th, 2010 (edited) 365 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on ^*:OPEN:?:*:{
  2.   inc -u5 %xfp
  3.   if (%xfp >= 4) {
  4.     silence +*!~*@*,+~*!*@*undernet.org
  5.     .timer 1 150 silence -*
  6.     echo -st $nick Was ignored during a private flood
  7.     auser prvflood $address($nick,2)
  8.     halt
  9.   }
  10. }
  11. on prvflood:join:#:{ ban -k $chan $nick Flood Bot }
RAW Paste Data
Top