DropItem

Method drop item from “finger” to selected container (or ground)

Returns True on success, False if no item “on finger”

case MoveIntoID:

Pascal

function DropItem(MoveIntoID:Cardinal; X, Y, Z:Integer):Boolean

Python

def DragItem(ItemID, Amount) -> bool

Example Pascal

procedure LootGold;
begin
  if FindType($0EED, Corpse) <> 0 then
  begin
    DragItem(finditem, 0);
    Wait(300);
    DropItem(backpack,0,0,0);
    Wait(600);
  end;
end;