The Dispatcher handles parsing, validating, and evaluating commands. Exists on both client and server.
Run client only
This should be used to invoke commands programmatically as the local player. Accepts a variable number of arguments, which are all joined with spaces before being run. This function will raise an error if any validations occur, since it's only for hard-coded (or generated) commands.
| || ||✔|
Runs a command as the given player. If called on the client, only text is required. Returns output or error test as a string.
GetHistory client only
Returns an array of the user's command history. Most recent commands are inserted at the end of the array.