Binds a key combination to use an item in the player's possession

See also Keybind functions, Item functions.


success = SetBindingItem("key", itemID) or SetBindingItem("key", "itemName") or SetBindingItem("key", "itemLink")


  • key - A key or key combination (e.g. "CTRL-2") (string, binding)
  • itemID - An item's ID (number)
  • itemName - An item's name (string)
  • itemLink - An item's hyperlink, or any string containing the itemString portion of an item link (string)


  • success - 1 if the binding was successful; otherwise nil (1nil)