code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
if (Origin == Messenger.MyContacts.GetContact("Ignogred Contact 1").Name){
ChatWnd.SendMessage("/close");
}
if (Origin == Messenger.MyContacts.GetContact("Ignogred Contact 2").Name){
ChatWnd.SendMessage("/close");
}
if (Origin == Messenger.MyContacts.GetContact("Ignogred Contact 3").Name){
ChatWnd.SendMessage("/close");
}
}
Edit Ignored Contact 1/2/3 to the email of the contacts you want to ignore.
This would close the Chat Window as soon as the message is received and you will not even notice it, unless you have pop-up notifications for Messages.