Returns the name and sub-text of a spell in the spellbook

See also Spell functions.


Name, Subtext = GetSpellBookItemName(index, "bookType") or GetSpellBookItemName("spellName")


  • index - Index of a spell in the spellbook (number, spellbookID)

  • bookType - Type of spellbook (string)

    • pet - The pet's spellbook
    • spell - The player's spellbook

  • spellName - Name of a spell to query (string)


  • Name - Name of the spell. (string)
  • Subtext - The text that's written below the skill name. (string)