Using search hasn't shown me the way to add specific channels to be opened automatically. Your script gives me the way to open certain servers/networks, but how would I add channels to the script?

Asking the question here is not always a matter of laziness, but an attempt to save an hour of possibly futile searching on the internet. If this is a common question, maybe a sticky would make it easier to find the answer.