miniCruzer, you don't need the /i, /g modifier (there is no uppercase or lowercase for a number anyway...the /g modifier is to match a string multiple times. The way you have it only requires one...and you have the regex matched mainly for the number zero as is, hence the caret and dollar sign used), and the $me isop # can be substituted by a @ prefix:
on @$*:text:/^0$/S:#:{
if ($nick == sparky) {
if (%score == 16) {
.onotice # I've kicked Sparky $v1 times for saying '0'
unset %score
}
else {
inc %score
kick # $nick +1 for $me $+ ! My score: %score
}
}
}