Advertisement
westor

Bad IP Blacklist for Kendy v1.0

Jul 3rd, 2020
2,600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.28 KB | None | 0 0
  1. ON !@*:JOIN:#: {
  2.   var %f = badips.txt
  3.  
  4.   if (!$file(%f)) { return }
  5.  
  6.   var %h = $ial($nick).host
  7.   var %h = $gettok($1,1-2,46)
  8.  
  9.   if (!%h) { return }
  10.  
  11.   var %r = $read(%f,nw,* $+ %h $+ *)
  12.  
  13.   if (!%r) { return }
  14.  
  15.   ban -k $chan $nick 2 Your IP is blacklisted! - IP Range: %r
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement