WoW:API PutItemInBag: Difference between revisions

m
Move page script moved page API PutItemInBag to WoW:API PutItemInBag without leaving a redirect
(link to PutItemInBackpack)
m (Move page script moved page API PutItemInBag to WoW:API PutItemInBag without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
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 [[API_PutItemInBackpack|PutItemInBackpack]].
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 [[API_PutItemInBackpack|PutItemInBackpack]].


Line 11: Line 12:
== Example ==
== Example ==
: 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.
: 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.
----
__NOTOC__
{{Template:WoW API}}
Anonymous user