public void Ban(coGameConnection client) { MessageAll("MsgAdminForce", console.ColorEncode(@"\c2The Admin has banned %1."), client["playerName"]); if (!client.isAIControlled()) { console.Call_Classname("BanList", "add", new[] { client["guid"], client.getAddress(), sGlobal["$Pref::Server::BanTime"] }); } client.delete("You have been banned from this server"); }