macro-execute
Run a macro the way its hotbar button does: a chat macro posts its command, a script macro runs its JavaScript with GM rights (needs the module setting Allow Script Macros, off by default). Returns only that it ran; the effect shows in chat (chat-list) or in the world.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actorId | No | Actor ID (from actor-list or actor-filter); the macro sees it as actor | |
| macroId | Yes | Macro ID (from macro-list) | |
| tokenId | No | Token ID on the active scene (from token-list); the macro sees it as token |