Added an alias system so that a command can be called with different names.
The alias commands respects the permission system and can be used seemingly with the help and alias command.
The commands command still only lists the original/full command name, it doesn't list aliases
CreateCommand now has an addition argument commands can use: commandAliases
Added a new !alias or !aliases command
With these commands you can get the available alias(es) of a command by its original name or one of its alias
For example !alias god or !alias godmode
Some refactor to make the ChatListener function easier to read along with some comments to separate each command logic (built-in commands and "any other command")
Added CommandAliasesDoesNotExistError
Added GetCommandNameFromAlias util function
This is a port of my MW3 chat_commands script (version 1.3.2)
ba1322b933
The array declarations such as array = ["value"] were changed to use the array function
The tell function (player chat) was changed IPrintLnBold. More explanation in the README
Support for clantags was added. Clantags were changing the player's name which would then make the script fail to find the player when typing his name. This has been tested and fixed. More explanation in the README
Errors and util functions related to camo were removed. The way camo works seems to be really different than MW3 so work is required to implement these again