there are still some errors in your code here and there, but thats not what id like to point out. The thing is with a caps-kicker (not meaning your script in particular) is that sometimes with short messages like \':D\' or \':)\' or \';)\' etc. it gets you kicked. There are more advanced cap kick scripts that also check length, special characters and percentage of capsed letters