Sol.config.CreateSlashCommand

Sol.config.CreateSlashCommand = function(command, fn, slashName, num)

Creates a slash chat command for the specified function.

Parameters: + command  - The shorthand command you want to use + fn       - The function to invoke for this command + slashName - The key to use for SlashCmdList. When adding multiple commands for the same function, use the same slashName. Can be nil to use command as the slashName + num      - When adding multiple commands for the same function, increment num for each. Note that there will be two slash commands that execute fn: / and //. This is merely for convenience.