What is "timeout -ku600 # $nick 2" supposed to do?
I believe the syntax is simply "timeout $nick <time>"