set_macro_line
Set the command for a specific line in a macro on a grandMA2 console. Define the macro number, line number, and command string to update macro behavior.
Instructions
Set the command for a specific line within a macro.
Args:
macro_id: Macro number
line: Line number within the macro
command: The command string for that line (e.g., "SetVar $song='Opening+Childhood'")
pool: Macro pool number (default: 1)
Returns:
str: Operation result message
Examples:
- Set macro 101 line 1 to "SetVar $song='Opening+Childhood'"
- Set macro 50 line 3 in pool 2 to "Go Sequence 5"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macro_id | Yes | ||
| line | Yes | ||
| command | Yes | ||
| pool | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |