thanks for your reply. the hyphens did cause an issue, and the brackets fixed that. I was wondering what the best way to compare the uhost to the host so that I know for sure it's my bot joining. this code works, but I'm open to suggestion if there is a better way. set our_chan "#mychan" b...