matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: correction please
Or simplified down to:
code: function OnEvent_ChatWndSendMessage(pChatWnd, sMessag){
for(var e = new Enumerator(pChatWnd.Contacts); !e.atEnd(); e.moveNext())
if("name@domain.com" == e.item().Email){
pChatWnd.SendMessage("irritant Hè!");
}
}
}
|
|