This works only for a notice created like:
/notice #nacknic test
It does not trigger if the other person happens to be one of the nicks in that channel when they send a notice to you. It also does not trigger your mIRC if you are the one doing the notice.