Yes, put the gray code in the remote, and make the bot join the channel. Do you get any errors?

Remember, q.txt must be in the mIRC folder.