WoW API: GetNumSpellTabs

From AddOn Studio
Jump to navigation Jump to search

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.