Fandom

WoWWiki

API PickupItem

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < PickupItem

Place the item on the cursor.

PickupItem(itemID or "itemString" or "itemName" or "itemLink") 

Parameters Edit

Arguments Edit

(itemId or "itemString" or "itemName" or "itemLink")
itemId 
Integer - The numeric ID of the item. ie. 12345
itemString 
String - The full item ID in string format, e.g. "item:12345:0:0:0:0:0:0:0".
Also supports partial itemStrings, by filling up any missing ":x" value with ":0", e.g. "item:12345:0:0:0"
itemName 
String - The Name of the Item, ex: "Hearthstone"
The item must have been equiped, in your bags or in your bank once in this session for this to work.
itemLink 
String - The itemLink, when Shift-Clicking items.

Examples Edit

PickupItem(6948)
PickupItem("item:6948")
PickupItem("Hearthstone")
PickupItem(GetContainerItemLink(0, 1))

ResultEdit

Picks up the Hearthstone. 4th one picks up the item in backpack slot 1

Common usage Edit

PickupItem(link)

Also on Fandom

Random Wiki