WoW API: RunMacroText

Revision as of 04:47, 15 August 2023 by Move page script (talk) (Move page script moved page API RunMacroText to API RunMacroText without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < RunMacroText


Execute a string as if it was a macro.

Parameters

Arguments

"macro"
String - the string is interpreted as a macro and then executed

Returns

nil

Example

 RunMacroText("/cast Immolate")

Result

Casts immolate (if executed in an untainted context).