public static void MimicOtherPlayer(this Extension E, string PlayerName, HHotel Hotel) { try { if (!SKore.CheckPlayerName(PlayerName, Hotel)) { E.ChangeClothes(PlayerName, Hotel); E.ChangeMotto(PlayerName, Hotel); } else { MessageBox.Show(string.Format("Sorry the player '{0}' could not be found on {1}", PlayerName, Hotel.ToDomain()), "Error"); } } catch (Exception e) { MessageBox.Show(e.ToString()); } }