if (plyr != null)
{
plyr.sendMessage(new CustomMessage("admincommandhandlers.YoureBannedByGM", plyr));
plyr.setAccessLevel(-100);
AutoBan.Banned(plyr, time, msg, activeChar.getName());
plyr.kick();
activeChar.sendMessage("You banned " + plyr.getName());
}
else if (AutoBan.Banned(player, -100, time, msg, activeChar.getName()))
{
activeChar.sendMessage("You banned " + player);