msg.trim();
}
L2Player plyr = L2World.getPlayer(player);
if(plyr != null)
{
plyr.sendMessage(new CustomMessage("scripts.commands.admin.AdminBan.YoureBannedByGM", plyr).addString(activeChar.getName()));
plyr.setAccessLevel(-100);
AutoBan.Banned(plyr, time, msg, activeChar.getName());
plyr.logout(false, false, true, true);
activeChar.sendMessage("You banned " + plyr.getName());
}