WoW:API GetNumMacros: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API GetNumMacros to API GetNumMacros without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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

Latest revision as of 04:46, 15 August 2023

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