add_event_command
Insert an event command to a specific event page. Requires map ID, event ID, page index, and command object with code and parameters.
Instructions
Add an event command to a specific page of an event. Command is inserted before the page terminator (code 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | The map ID | |
| eventId | Yes | The event ID (number or numeric string) | |
| pageIndex | No | Page index (0-based) | |
| command | Yes | The event command object: {code, indent, parameters} |