Here is a code that stops all 'normal' privmsg to a given channel, just replace your channel and network name:
on $*:parseline:in:/privmsg #channel/i:if ($network == network) .parseline -it
This can be easily edited to handle more messages if you need to.