About: USERAPI EquipItemByLink   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Equips the first matching item found in the player's bags (including the bank and bank bags). Checks the bank first, then carry-ons, then bank bags. local function EquipItemByLink(link) for bag=BANK_CONTAINER, NUM_BAG_SLOTS+NUM_BANKBAGSLOTS do for slot=1,GetContainerNumSlots(bag) do local item = GetContainerItemLink(bag, slot) if item and item == link then if CursorHasItem() or CursorHasMoney() or CursorHasSpell() then ClearCursor() end PickupContainerItem(bag, slot) AutoEquipCursorItem() return true end end end end

AttributesValues
rdfs:label
  • USERAPI EquipItemByLink
rdfs:comment
  • Equips the first matching item found in the player's bags (including the bank and bank bags). Checks the bank first, then carry-ons, then bank bags. local function EquipItemByLink(link) for bag=BANK_CONTAINER, NUM_BAG_SLOTS+NUM_BANKBAGSLOTS do for slot=1,GetContainerNumSlots(bag) do local item = GetContainerItemLink(bag, slot) if item and item == link then if CursorHasItem() or CursorHasMoney() or CursorHasSpell() then ClearCursor() end PickupContainerItem(bag, slot) AutoEquipCursorItem() return true end end end end
dbkwik:wowwiki/pro...iPageUsesTemplate
abstract
  • Equips the first matching item found in the player's bags (including the bank and bank bags). Checks the bank first, then carry-ons, then bank bags. local function EquipItemByLink(link) for bag=BANK_CONTAINER, NUM_BAG_SLOTS+NUM_BANKBAGSLOTS do for slot=1,GetContainerNumSlots(bag) do local item = GetContainerItemLink(bag, slot) if item and item == link then if CursorHasItem() or CursorHasMoney() or CursorHasSpell() then ClearCursor() end PickupContainerItem(bag, slot) AutoEquipCursorItem() return true end end end end
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software