Author Topic: Preventing second bans? (Solved)  (Read 461 times)

Is it possible to make a script that only allows an admin to ban the user once?
For example: If you try to ban a user who is already banned. It will not allow it.

The reason: When you make host only unban. Admins/SAs can easily go around that by banning the user they want to unban for just 1 minute. I want to prevent that.
« Last Edit: March 15, 2014, 11:20:45 PM by Aduioa »

Code: [Select]
if(banManagerSO.isBanned(%targetID))
{
    messageClient(%client,0,"\c6You cannot ban this person again!");
    return;
}
« Last Edit: March 15, 2014, 11:22:17 PM by redoctober2009 »

Code: [Select]
if(banManagerSO.isBanned(%targetID)
{
    messageClient(%client,0,"\c6You cannot ban this person again!");
    return;
}
Thanks!