Here's one way to have it active on channels of your choice.

replace:
Code:
on !*:JOIN:#: {

with:
Code:
on !*:JOIN:#channel,#channel,#channel: {

Replace 'channel' with the channel names you wish it be active on.