On an event of someone signing in, how can I have it so it automatically opens a selected contact and says a certain thing? Eg:
// contact signs in
// if contact email = "myfriendexample135"hotmail.co.uk"
//{
//open window for chat with this person
ChatWnd.SendMessage("Hello mate!");
//}
Some help would be nice