How do I automatically join an IRC channel?

Frequently visited channels can be entered into the Perform Buffer.  All commands that are entered will be executed when the connection is established. Use the following syntax:

/join #CHANNEL or

/join #CHANNEL PASSWORD