WoW:API RunMacroText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(based on the use in securetemplates.lua)
 
mNo edit summary
Line 14: Line 14:


== Example ==
== Example ==
   RunMacroText("/cast Immolation")
   RunMacroText("/cast Immolate")


=== Result ===
=== Result ===
Casts immolation (if executed in an untainted context).
Casts immolate (if executed in an untainted context).

Revision as of 17:20, 1 August 2007

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).