code:var Contacts = ChatWnd.Contacts; var e = new Enumerator(Contacts); for(; !e.atEnd(); e.moveNext()) Contact = e.item(); if("name@domain.com" == Contact.Email){ ChatWnd.SendMessage("irritant Hè!"); }