static void Stat(Client player, string[] cmd, int iarg) { if (cmd.Length == 1) { Chat.TellStatTo(player, player.Settings, player); player.TellSystem(Chat.Yellow + " ", Chat.Gold + Donors.Status(player.MinecraftUsername)); } for (int n = 1; n < cmd.Length; n++) { ClientSettings s = null; Client p = PlayerList.GetPlayerByName(cmd [n]); if (p != null) { s = p.Settings; } if (s == null || s.Cloaked != null) { s = Client.LoadProxyPlayer(cmd [n]); p = null; } if (s == null) { player.TellSystem(Chat.Red, cmd [n] + " is not found"); } else { Chat.TellStatTo(p, s, player); BadPlayer b = Banned.GetBanHistory(cmd [n]); if (b != null) { player.TellSystem(Chat.Yellow + cmd [n] + " ", Chat.Red + b.ToString()); } } } }