It sounds like this might be a server notice. If so, something like this might work
Code:
on ^*:snotice:*is messaging you*:{
echo -a $1-
halt
}