Your script doesn't wait until the usermode is set by the server, I will still have my problem if the channels are joined fast. Or am I wrong?