> For the complete documentation index, see [llms.txt](https://riseclients-organization.gitbook.io/rise-6-scripting-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riseclients-organization.gitbook.io/rise-6-scripting-api/api-documentation/events/onexecute-event.md).

# onExecute event

## onExecute

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

### onExecute arguments

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