WoW:API GetNumSpellTabs: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Robot: converting/fixing HTML)
m (Move page script moved page API GetNumSpellTabs to WoW:API GetNumSpellTabs without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetNumSpellTabs''' ''-Documentation by Doomhound-''</center>
{{Stub/API}}
----
----


Line 24: Line 24:
    
    
;''Result'' : Displays error message with the total number of spell tabs in the player's spellbook.
;''Result'' : Displays error message with the total number of spell tabs in the player's spellbook.
----
--[[User:Doomhound]] 12:32 AM, 04 May 2005 (PST)

Latest revision as of 04:46, 15 August 2023

WoW API < GetNumSpellTabs


Retrieves the total number of tabs in the user's spellbook.

totalSpellTabs = GetNumSpellTabs();

Arguments
None

Returns
totalSpellTabs - Integer

Example
  local totalSpellTabs = GetNumSpellTabs();
  message(totalSpellTabs);
  
Result
Displays error message with the total number of spell tabs in the player's spellbook.