Quote:
All of the scripts you've been given so far will increase the kick count even if you don't end up kicking the person for some reason, I'd use something like this instead:

Code:
on me:*:kick:#:{ 
  write kick.txt $knick kicked by $iif(%nick,$v1,$me)
  unset %nick
}
on @1001:text:!k &:#:{
  set -u3 %nick $nick
  kick $chan $2 $calc($lines(kick.txt) + 1)
}


When would you ever not kick the person.

I reccomend a) using an .ini file, and b) using these scripts
Code:

on *:join:#: { 
if ( $readini(kicks.ini, Users, $nick) == $null ) {
writeini kicks.ini Users $nick 0
}
if ( $readini(kicks.ini, Users, $nick) != $null ) {
var %kick = $readini(kicks.ini, Users, $nick)
notice $nick You have been kicked from this channel %kick times.
}
}

Code:
on @1001:text:!k *:#: {
var %quack = $readini(kicks.ini, Users, $knick)
var %moo = $readini(kicks.ini, Totals, moo)
writeini kicks.ini Totals moo $calc( %moo + 1 )
writeini kicks.ini Users $knick $calc( %quack + 1 )
var %kick = $readini(kicks.ini, Users, $knick)
var %kicks = $readini(kicks.ini, Totals, moo)
kick $chan $2 You have now been kicked out of here %kick times. Chan Kick Total : %kicks
}


** Note: This has not been tested, but I did triple check the code to make sure it looks right.