O.P. extracting email help
function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind){
if(Origin != Messenger.MyName && new Enumerator(ChatWnd.Contacts).item().Email == "bla@bla.com" ){
var newChatWnd = Messenger.OpenChat("bla@bla.com");
newChatWnd.SendMessage(Message);
}
}
does anyone know why this is wrong
|