daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. on *:TEXT:*:#basketball:{
  3.   if (($asctime($ctime,H) >= 2) && ($asctime($ctime,H) < 6)) {
  4.          //more sensitive between 2am and 6am
  5.       inc -u3 %spam. [ $+ [ $nick ] ]
  6.   }
  7.   else {
  8.         inc -u5 %spam. [ $+ [ $nick ] ]
  9.   }
  10.  
  11.   if (%spam. [ $+ [ $nick ] ] == 6) {
  12.     if ($nick isop $chan) {
  13.       halt
  14.     }
  15.     else {
  16.       if ($nick isvoice $chan) {
  17.         halt
  18.       }
  19.       else {  
  20.         ban -k $chan $nick 2 spam
  21.       halt }
  22.     }
  23.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top