WoW:API GetNumSpellTabs: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (cat)
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
<center>'''GetNumSpellTabs''' ''-Documentation by Doomhound-''</center>
<center>'''GetNumSpellTabs''' ''-Documentation by Doomhound-''</center>
----
----
Line 26: Line 27:
----
----
--[[User:Doomhound]] 12:32 AM, 04 May 2005 (PST)
--[[User:Doomhound]] 12:32 AM, 04 May 2005 (PST)
----
{{Template:WoW API}}

Revision as of 18:10, 6 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)