WoW:API GetNumSpellTabs: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Robot: converting/fixing HTML)
mNo edit summary
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)

Revision as of 03:11, 25 October 2007

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.