Returns whether a spell is currently being used
See also Spell functions.
index- Index of a spell in the spellbook (
bookType- Type of spellbook (
pet- The pet's spellbook
spell- The player's spellbook
name- Name of a spell (
isCurrent- 1 if the spell is currently being cast, is waiting for the user to choose a target, is a repeating spell which is currently repeating, or is the open trade skill; otherwise nil (