SHARE
TWEET

Untitled

a guest Dec 20th, 2011 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
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