Advertisement
debiangr

Untitled

Apr 13th, 2023 (edited)
663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.51 KB | None | 0 0
  1. alias -l kb_bantime { return 3600 } ; Ban seconds
  2. alias -l kb_bantype { return 2 } ; Ban type (/help $mask)
  3.  
  4. ON @!*:JOIN:#test1: {
  5.   var %host = $address($nick,2)
  6.   var %domain = $address($nick,4)
  7.   var %fullhost = $address($nick,5)
  8.  
  9.   var %ident = $remove($gettok($gettok(%fullhost,2,33),1,64),~)
  10.  
  11.  
  12.   if (!$ulist(%domain,host,0))
  13.       elseif (*.IP iswm %h) { ban $+(-u,$kb_bantime) %c *!*@*. $+ $gettok(%h,3-,46)  }
  14.       else { ban $+(-ku,$kb_bantime) %c $1 $kb_bantype $kb_reason }
  15.     }
  16.  
  17.   }
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement