API RunMacroText
Talk0
98,468pages on
this wiki
this wiki
This function is PROTECTED, and can only be called from Blizzard code.
|
Execute a string as if it was a macro.
Contents |
Parameters
Edit
Arguments
Edit
- "macro"
- String - the string is interpreted as a macro and then executed
Returns
Edit
- nil
Example
Edit
RunMacroText("/cast Immolate")
Result
Edit
Casts immolate (if executed in an untainted context).