alias ck {
var %reason = [Clones Kick] No join for your host. $ord(%kicks) kicks
var %i = 1
while ( $gettok($ialchan($address($1,2),#,%i),1,33) ) {
kick # $ifmatch %reason
[color:red]inc %kicks[/color]
inc %i
}
}
i have a clones kick script, but $ord wont work, i kicked 5 clones but $ord wont +1 on next user, why ???
It won't increment for each kick because you set the value of %reason before the loop, so incrementing %kicks in the loop makes no difference to the value of %reason. Simply put the line which sets %reason as the first line in the while loop and it will work as you want.
Spelling mistakes, grammatical errors, and stupid comments are intentional.