Inglais@legacy41546699 (talk | contribs) mNo edit summary |
Muert39620@legacy41559547 (talk | contribs) No edit summary |
||
Line 26: | Line 26: | ||
: Shows the Spellbook. Equivalent to pressing 'P'. Note that if you do not have any pet spells, passing in "pet" will do nothing. |
: Shows the Spellbook. Equivalent to pressing 'P'. Note that if you do not have any pet spells, passing in "pet" will do nothing. |
||
+ | |||
---- |
---- |
||
− | {{ |
+ | {{WoW API}} |
− | [[Category:API Functions|ToggleSpellBook]] |
||
− | [[Category:API Toggle Functions|ToggleSpellBook]] |
Revision as of 05:54, 4 January 2006
Show/Hide the Spellbook.
ToggleSpellBook(bookType);
- Arguments
- bookType
- bookType
- string containing which spellbook to open. Valid choices are "spell" and "pet"
- Returns
- nil
- Example
ToggleSpellBook("spell");
- Result
- Description
- Shows the Spellbook. Equivalent to pressing 'P'. Note that if you do not have any pet spells, passing in "pet" will do nothing.
Template:WoW API