That sounds like a Contact object. No Contact object is passed to the OnEvent_ChatWndReceiveMessage(); function. Name is a
property of a Contact object. Like a method, a property belongs to a certain object. I'll set an example:
JScript code:
var oContact = Messenger.MyContacts.GetContact("john-doe@live.com"); // Change this Windows Live ID to someone from your contact list!!
MsgPlus.DisplayToast("","John-doe@live.com's Windows Live ID: " + oContact.Name);
Oh and on a side note: JScript is case-sensitive. So
Name is not the same as
name.