PlayerHasPermission

Check if the player has permission for a command.

Example
How to create groups for a command. public override void OnChatCommand(User player, string command) { string[] cmd = command.Split(' '); if(cmd[0] == "/thecommand") {  if(PlayerHasPermission(player, thecommandGroups, userDictionary)   {    SendMessageToPlayer(player, "[YOUR SCRIPT]", "Hello!");   }   else   {    SendMessageToPlayer(player, "[YOUR SCRIPT]", "You don't have permission!");   }  } }

Info
PlayerHasPermission(User Player, string[] Groups, Dictionary userDictionary).

Returns
Returns True if the player has permission for that command.

Returns False if the player hasn't permission or if it isn't found.