Returns whether an item is being used
See also Item functions.
Signature:
isItem = IsCurrentItem(itemID) or IsCurrentItem("itemName") or IsCurrentItem("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)
Returns:
isItem- 1 if the item's "Use:" action is currently being cast, is waiting for the user to choose a target, or is otherwise in progress; otherwise nil (1nil)