AddOn Studio Wiki
Advertisement

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.
Advertisement