Append event commands
add_commandsAppend raw {code, indent, parameters} commands to an RPG Maker MZ page while keeping the terminating code-0 entry last. Use command_catalog for parameter layout; warnings flag indent mismatches.
Instructions
Append raw {code, indent, parameters} commands to a page, keeping the terminating code-0 entry last. Use command_catalog first to learn the parameter layout of a code. The page's block structure is re-read after the append, and anything whose indent does not match the branch it sits under comes back in warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Insert before this list index instead of appending before the terminator | |
| mapId | Yes | ||
| eventId | Yes | ||
| commands | Yes | ||
| pageIndex | No |