API PickupContainerItem

Wildcard function usually called when a player left clicks on a slot in their bags. Functionality includes picking up the item from a specific bag slot, putting the item into a specific bag slot, and applying enchants (including poisons and sharpening stones) to the item in a specific bag slot, except if one of the Modifier Keys is pressed.

PickupContainerItem(bagID, slot);

Arguments

 * bagID : Number (bagID) - id of the bag the slot is located in.
 * slot : Number - slot inside the bag (top left slot is 1, slot to the right of it is 2).