WoW:API GetNumSpellTabs: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Robot: converting/fixing HTML)
Line 15: Line 15:
;''Returns''
;''Returns''


:<i>totalSpellTabs</i> - Integer
:''totalSpellTabs'' - Integer


----
----

Revision as of 09:32, 20 January 2007

WoW API < GetNumSpellTabs

GetNumSpellTabs -Documentation by Doomhound-

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.

--User:Doomhound 12:32 AM, 04 May 2005 (PST)