clickMenu(command: string) -> bool
Clicks a row of a menu that is already open. Composed here rather than taken from the API, which clicks a row it is handed: this finds the row whose command matches and then hands it to the same aim-and-confirm click every interact uses. False when no menu is open or no row matches.
| Parameter | Type | What it does |
|---|---|---|
| commandrequired | string | the option to click |
if menuContains("Attack") { clickMenu("Attack") }