WoW API: RunMacroText

Revision as of 11:46, 7 February 2007 by WoWWiki>DerGhulbus (based on the use in securetemplates.lua)
(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 Immolation")

Result

Casts immolation (if executed in an untainted context).