Code:
--########## AMULETS ##########--


local ItemName = getuseroption("NecklaceToUse")
local ItemMax = tonumber(getuseroption('AmountofNecklaces'))
local BptoMove = getuseroption('MiscBP')
local BpFrom = getuseroption('AmuletsDP')
local BagName = getuseroption("BagDP")

if itemcount(BpFrom,BagName) > 0 then
	while windowcount(BpFrom) ~= 1 do
		openitem(BpFrom, BagName, true)
		waitping(3,5)
	end
else
	gotolabel($wptid + 1)
end



while (ItemMax - itemcount(ItemName,BptoMove) > 0) and (itemcount(BpFrom,BpFrom) > 0 or itemcount(ItemName, BpFrom) > 0) and getcontainer(BptoMove).emptycount > 1 do
	moveitems(ItemName, BptoMove, BpFrom,1)
	wait(1000)

	if itemcount(ItemName, BpFrom) == 0 and itemcount(BpFrom,BpFrom) > 0 then
		openitem(BpFrom,BpFrom,false)
		wait(200,400)
	end
end
		

closewindows(BpFrom)
waitping(3,4)
I can't see anything wrong about this action, but since the update it doesn't open any backpack in dp to withdraw extra items