Can anyone help me what's wrong on these codes? When i load it on my remote script, my mIRC will freeze and hang =(
-------------------------------------------------
on *:OP:#:{
if ($opnick == $me) { set %ctr 1 | set %check $ulist(*,%ctr)
while (%check != $null) {
if (stick isin $level(%check)) { set %kick-check $ialchan($ulist(%check,stick,1),#,1) | if (%kick-check) { mode # +b %check | .timer 1 1000 mode # -b %check | fkick # %check $ulist(*,%ctr).info } }
else if (%check ison #) mode # +v %check | inc %ctr 1 | set %check $ulist(*,%ctr)
}
}
unset %ctr %check %kick-*
}
alias -l fkick { var %fkick-total = $nick($1,0,a) | var %fkick-ctr = 1 | :loop | if (($nick($1, %fkick-ctr, a) != $me) && ($2 iswm $address($nick($1, %fkick-ctr, a),5))) kick $1 $nick($1, %fkick-ctr, a),5) $3- | if (%fkick-ctr < %fkick-total) { %fkick-ctr = %fkick-ctr + 1 | goto loop } | unset %fkick-total %fkick-ctr }
-------------------------------------------------