Fandom

WoWWiki

API PutItemInBag

104,634pages on
this wiki
Add New Page
Talk2 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 < PutItemInBag

Puts the item on the cursor into the specified bag slot on the main bar, if it's a bag. Otherwise, attempts to place the item inside the bag in that slot. Note that to place an item in the backpack, you must use PutItemInBackpack.

PutItemInBag(n)

Parameters Edit

Arguments Edit

(n)
Numeric - A value from 20 to 23 where 20 is the rightmost bag (not including backpack) and 23 is the leftmost.


Example Edit

PutItemInBag(20) will put the item (if it's not a bag) on the cursor into the first bag (not including backpack) starting from the right.

Also on Fandom

Random Wiki