Talk:API GetSpellName
Jump to navigation
Jump to search
Does anyone know if this returns nil if the spell ID doesn't exist?
Alshain 17:47, 24 October 2006 (EDT)
Why can't I get this to work? I'm using the command at the chat line, as follows:
/script GetSpellName(12,spell);
I keep getting "invalid spell slot in GetSpellName"... Any tips? Thanks. - LAISREN 08:24, 19 Jun 2005 (EDT)
Make sure you're either using BOOKTYPE_SPELL or "spell" (i.e. in quotes), not just spell:
/script GetSpellName(12,"spell")
--DarkRyder 07:43, 14 July 2006 (EDT)