WoW:API ToggleSpellBook: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 28: Line 28:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|ToggleSpellBook]]
[[Category:API Toggle Functions|ToggleSpellBook]]

Revision as of 19:14, 27 August 2005

ToggleSpellBook -Documentation by The Nerd Wonder-

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