22 March 2012

MassJoin = single kick direct (no limit) by masta zildjan

 on @!*:JOIN:#: {
 if ($nick == $me) || ($nick isin %protect) { halt }
 var %m $wildsite,%h # $+ %m
 hadd -mu1 c.flood %h $hget(c.flood,%h) $nick
 if ($hget(f.join,$+($wildsite,#)) = $null) { hadd -mu1 f.join $+($wildsite,#) $ticks }
 var %y = $hget(c.flood,%h)
 if $numtok(%y,32) > 1 {
 var %o = $round($calc(($ticks – $hget(f.join,$+($wildsite,#)) ) / 1000),2)
 tokenize 32 $hget(c.flood,%h)
 !kick # $* fast -kick MassJoin [ $numtok(%y,32) Nicks in %o secs]
 halt
 }
 }

No comments: