I didn't say to paste only that line, i said to *CHANGE* the line only if you didn't want to list the specific channels where it should take action.

In my script i gave a line like

on *:OP:#channelname1,#channelname2:{

so you either edit that line to list the channels where this takes action, or you CHANGE that line to instead be

on *:OP:#:{

By pasting only this 1 line, that creates a scripting error that puts the alias inside the ON OP event which should not be. Instead of replacing it, try just editing the #channelname1 word to to be the name of your channel, without putting just that 1 line in your script. Put the whole code block without any changes except changing the #channelname1