Instead of /mode $chan +b $address /kick $chan $nick 0,1Excessive Kicks Detected.
You could use /ban -k $chan $nick 2 0,1Excessive Kicks Detected. .
And / at the start of the commands isn\'t needed either. mIRC automatically does the commands as though they have been there.