Can be done on this type?
PHP Code:
if(bantime > 10080 && !(CheckCommandAccess(client, "sm_ban", ADMFLAG_BAN)))
{
ReplyToCommand(client, "You don't have permissions to ban over a week!");
return Plugin_Handled;
}
You can not ban more than 10080 minutes and including permanent.
And so the ban was superimposed on sm_menu, console and !ban chat command.