WoW:API GetNumMacros: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
({{wowapi}})
Line 1: Line 1:
== API GetNumMacro ==
{{wowapi}}


Will return the number of macro's the user has
== API GetNumMacros ==
 
Will return the number of macros the user has


  local numglobal,numperchar = GetNumMacros();
  local numglobal,numperchar = GetNumMacros();


== Arguments ==
== Returns ==
:(numglobal,numperchar)
:(numglobal,numperchar)


; numglobal : numeric - Returns the number of global macros
; numglobal : Number - Returns the number of global macros
 
; numperchar : numeric - Returns the number of macros per character


----
; numperchar : Number - Returns the number of macros per character

Revision as of 08:21, 13 June 2006

WoW API < GetNumMacros

API GetNumMacros

Will return the number of macros the user has

local numglobal,numperchar = GetNumMacros();

Returns

(numglobal,numperchar)
numglobal
Number - Returns the number of global macros
numperchar
Number - Returns the number of macros per character