Advertisement
Guest User

Untitled

a guest
Dec 20th, 2011
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.48 KB | None | 0 0
  1. menu Channel {
  2.   -
  3.   Kick by Nick length:KBL $chan $len($$?="Enter length") $?="Enter reason"
  4.   -
  5. }
  6.  
  7. ; Syntax: /KBL <#Channel> <Length> [Reason]
  8. ; Example: /KBL #MyChannel 10 You're not welcome!
  9. alias KBL {
  10.   if ($1 ischan) && ($me isop $1) && ($2 isnum 1-) {
  11.     var %x = 1
  12.     while ($nick($1,%x,r)) {
  13.       var %nick = $v1
  14.       if ($len(%nick) == $2) { $+(.timer.,$1,.,%nick) 1 %x $iif(%nick ison $1,ban -k $1 %nick 2 $iif($3,$3-,Banned),noop) }
  15.       inc %x
  16.     }
  17.   }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement