xxxxxxxxxx
== Details ==
: Shows the Spellbook. Equivalent to pressing 'P'. Note that if you do not have any pet spells, passing in "pet" will do nothing.
: If you want to open the spellbook using Lua, don't use this, use <code>ToggleFrame(SpellBookFrame)</code> instead.
: However both <code>ToggleFrame(SpellBookFrame) and ToggleSpellBook("spell") </code>will not execute successfully while in combat using Lua due to AddOn Taint unless the Spell Book was previously opened during the same game session.