code:
var Contacts = Messenger.MyContacts;
var Contact = Contacts.GetContact("ddunk@is.a.ponynugget.net");
Debug.Trace(Contact.Name);
and for the PSM/nick thing:
code:
Messenger.MyPersonalMessage = Messenger.MyName + " vs " + Contact.Name;
or
code:
Messenger.MyName = Messenger.MyName + " vs " + Contact.Name;