Static function
Moderate
Console.RunCommand
Runs a Console Command programmatically (only scripting-registered commands can be triggered)
Syntax
Console.RunCommand(command)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
command
|
string | — | The command |
Examples
Console.RunCommand("hello")