Automatic Loot Claim for the Pits by kuso0826
##Note: Ensure that dig desk and bank deposit safe are within your two steps.
##An auto-stop function has been added.
if findtype "dig desk" ground -1 -1 2 as desk
dclick desk
waitforgump 112273811
gumpresponse 3
wait 350
clearsysmsg
endif
while findtype "bank deposit safe" ground -1 -1 2 as bank
if findtype "gold coin" backpack
menu bank 0
wait 350
endif
gumpresponse 100
waitforgump 112273811
if insysmsg "That item is no longer available" or weight > maxweight
stop
endif
endwhile








