This is a little /warn snippet that I am using right now, and it works with mIRC v6.03, because I've used -u instead of -ku. After 10 warnings, the script bans them for 50 minutes, and then kicks them after 3 seconds. Thanks to sailoreagle for telling me why the -k doesn't work.