# onExecute event

## onExecute

Rise 6 API supports custom commands. To register a command, you have to call [rise.registerCommand(name, description) ](https://riseclients-organization.gitbook.io/rise-6-scripting-api/global-namespaces/rise#registercommand-name-description-command)method.

### onExecute arguments

This event accepts only passes a single argument: An argument array. The type is String\[].
