static void Room_Client_MessageReceived(LiveCodingChat.Xmpp.Room room, LiveCodingChat.Xmpp.MessageReceivedEventArgs e)
{
Console.ForegroundColor = ConsoleColor.Blue;
Console.WriteLine (e.Nick + ": " + e.Message);
Console.ForegroundColor = ConsoleColor.White;
string fnd = e.Message.ToLower ();
System.Text.RegularExpressions.Regex r = new System.Text.RegularExpressions.Regex ("NE[E]*I[I]*N TO[O]*M NE[E]*I[I]*N");
if (fnd.Contains("@tom") || fnd.Contains("@bobstriker")||r.IsMatch(fnd.ToUpper()))
{
if (player == null)
System.Media.SystemSounds.Exclamation.Play ();
else
player.Play ();
}
}