use .+chan command and then set need-key setting to: .chanset #blah need-key join #blah thekey naturally, if the key changes, you'll need either to do .chanset again, have someone invite the bot, or better yet, have another bot on channel and run botnetop.tcl on all bots (for automatic key exchange...