Squirrel/Server/Functions/Misc/UnbanIP
From Liberty Unleashed Wiki
(Difference between revisions)
(→Example) |
|||
Line 1: | Line 1: | ||
− | + | {{Squirrel/Title|UnbanIP}} | |
This function unbans the given IP and removes it from the banlist. | This function unbans the given IP and removes it from the banlist. | ||
Latest revision as of 10:35, 11 October 2010
This function unbans the given IP and removes it from the banlist.
[edit] Syntax
bool UnbanIP( string IP )
[edit] Arguments
- IP - The IP address to be unbanned
[edit] Example
function onPlayerCommand( player, command, text ) { if ( command == "unban" )UnbanIP( text ) }
[edit] Notes
This function is used to unban a previously banned IP.