static void HandleBlockDelete(string userNick, string name) { if (name == null) { IRC.SendChannelMessage("Please specify a player name"); return; } PlayerInfo info = PlayerDB.FindPlayerInfoExact(name); if (info == null) { IRC.SendChannelMessage("No player found with name \"" + Bold + name + Reset + "\""); return; } IRC.SendChannelMessage("Player " + Bold + "{0}" + Reset + " has Built: " + Bold + "{1}" + Reset + " blocks Deleted: " + Bold + "{2}" + Reset + " blocks{3}", info.ClassyName, info.BlocksBuilt, info.BlocksDeleted, (info.Can(Permission.Draw) ? " Drawn: " + Bold + info.BlocksDrawnString + Reset + " blocks." : "")); }