Squirrel/Server/Functions/Misc/BanIP
From Liberty Unleashed Wiki
(Difference between revisions)
(→Example) |
|||
Line 1: | Line 1: | ||
− | + | {{Squirrel/Title|BanIP}} | |
This function bans the given IP address from joining the server. | This function bans the given IP address from joining the server. | ||
Revision as of 10:34, 11 October 2010
This function bans the given IP address from joining the server.
Syntax
bool BanIP( string IP )
Arguments
- IP - The IP address to be banned
Example
function onPlayerCommand( player, command, text ) { if ( command == "banip" ) BanIP( text ); }
Notes
This function is used to ban the IP specified.