SET PAWN SCIRPT PLZ
else if ( cmd == "unban" )
{
local check = Required( player, cmd, Level );
if ( check )
{
if ( !text ) PrivMessage( "Error - Invalid Format. /c unban <ip>", player );
else if ( NumTok( text, "." ) != 4 ) PrivMessage( "Error - Invalid IP format.", player );
else
{
local bancheck = HGet( "FBSBanInfo", text );
if ( !bancheck ) PrivMessage( "Error - This IP has not been banned.", player );
else
{
local plr = GetTok( bancheck, ", ", 1 );
Message( "* Admin " + player + " has unbanned:[ " + plr + " ]" );
HDel( "FBSBanInfo", text );
UnbanIP( text );
}
}
}
}