I've never seen a network that treated group messages to status members the same way it treated a simple notice or ctcp to the channel itself. i.e. the 1st might be blocked, but the 2nd one would not be, except possibly restricted to people who had sufficient status to be receivers of such a message

/notice #channel message
/notice @#channel message

I was trying to fix an obvious hole in what you were trying to do, and fell victim to an unstated requirement. Your original usage would not have allowed a founder or protected op to see the message without also having +o. Change the $nick() usage to the following instead:

$nick($chan,%i,&~oh)

If you have any other status levels, you'd need to either add those manually, or just tell everyone to give themselves +o also