Squirrel/Server/Functions/Misc/UnbanIP

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Example)
 
Line 1: Line 1:
__NOTOC__
+
{{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

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function unbans the given IP and removes it from the banlist.

[edit] Syntax

  1. bool UnbanIP( string IP )

[edit] Arguments

  • IP - The IP address to be unbanned

[edit] Example

  1.  
  2. function onPlayerCommand( player, command, text )
  3. {
  4. if ( command == "unban" )UnbanIP( text )
  5. }
  6.  

[edit] Notes

This function is used to unban a previously banned IP.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox