Sorry, i've fixed. Now work.
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind)
{
var e = new Enumerator(ChatWnd.Contacts);
var Cnt = e.item();
Contact = Cnt.Email;
if(Origin != Messenger.MyName)
AddLineToFile (FileName + ".txt", GetTime + " - " + Contact + ": " + Message);
}
Thanks for all