Change # on the first line to your channel. You can use commas to specify multiple channels:

on *:text:*:#yourchannel: {

or

on *:text:*:#channel1,#channel2,#channel3: {