UnbanName

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function unban a name previus banned by BanPlayer or BanName

Syntax

  1. UnbanName ( string Name )

Arguments

  • Name - The name to unban

Example

Unban a name typed with /unbanname < name >

  1.  
  2. function onPlayerCommand ( pPlayer, szCommand, szParams ) {
  3.  
  4. switch ( szCommand ) {
  5.  
  6. case "unbanname": {
  7.  
  8. UnbanName ( szParams );
  9.  
  10. return;
  11. }
  12. }
  13. }
  14.  

Notes

The function UnbanName and call onPlayerCommand were used in in this example. More info about them in corresponding pages.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox