AddOn Stud… Editing (section) World of Warcraft API 0 You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor === Macro === : NOCOMBAT {{id|API|CreateMacro}}("name", icon, "body", perCharacter, isLocal) - Create a new macro. (nocombat 2.0) :{{id|API|CursorHasMacro}}() - Returns 1 if the cursor is currently dragging a macro. (added 2.0.3) :{{id|API|DeleteMacro}}(id or "name") - Deletes a macro. : NOCOMBAT {{id|API|EditMacro}}(index, "name", iconIndex, "body", isLocal, perCharacter) - Saves a macro. (nocombat 2.0) :{{id|API|GetMacroBody}}(id or "name") - Returns the body (macro text) of a macro. :{{id|API|GetMacroIconInfo}}(index) - Returns texture of the icons provided by Blizzard. :{{id|API|GetMacroItemIconInfo}}(index) - Returns texture of the item icons provided by Blizzard :{{id|API|GetMacroIndexByName}}("name") - Returns macro index. :{{id|API|GetMacroInfo}}(id or "name") - Returns "name", "iconTexture", "body", isLocal. :{{id|API|GetNumMacroIcons}}() - Returns the number of usable icons provided by Blizzard. :{{id|API|GetNumMacroItemIcons}}() - Returns the number of usable item icons provided by Blizzard. :{{id|API|GetNumMacros}}() - Returns the number of macros the user has. :{{id|API|PickupMacro}}(id or "name") - Pickup a macro button icon. :PROTECTED {{id|API|RunMacro}}(id or "name") - Runs a macro. :PROTECTED {{id|API|RunMacroText}}("macro") - Interpret the given string as a macro and run it. :{{id|API|SecureCmdOptionParse}}("command") - Used for evaluating conditionals in macros, returning the appropriate choice. :PROTECTED {{id|API|StopMacro}}() - Stops the currently executing macro. Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes