Casts the spell currently awaiting a target on an item. Usable when the player has attempted to cast a spell (e.g. an Enchanting recipe or the "Use:" effect of a sharpening stone or fishing lure) but the spell requires a target before it can begin casting (i.e. the glowing hand cursor is showing).
See also Spell functions, Item functions.
Signature:
SpellTargetItem(itemID) or SpellTargetItem("itemName") or SpellTargetItem("itemLink")
Arguments:
itemID- An item's ID (number)itemName- An item's name (string)itemLink- An item's hyperlink, or any string containing theitemStringportion of an item link (string)