It would be impossible to get into all *channels* because there are hundreds of thousands of them and many are password protected. You can get into more than one by typing /join #channelname (replace #channelname with the name of the channel). If you are referring to servers or networks, then use /server -m irc.servername.net (replace irc.servername.net with the server address).