WoW:API GetNumSpellTabs: Difference between revisions
(upgraded deprecated template) |
m (Move page script moved page API GetNumSpellTabs to API GetNumSpellTabs without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
{{Stub/API}} | |||
---- | ---- | ||
| Line 15: | Line 15: | ||
;''Returns'' | ;''Returns'' | ||
: | :''totalSpellTabs'' - Integer | ||
---- | ---- | ||
| 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. | ||
Latest revision as of 04:46, 15 August 2023
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.
