Hello guys,
So i need to make this action work, which will go to the nearest free dp open it and open the inbox not the depot chest.
what shall I do ?

reachgrounditem("depot")
wait(1000,1500)
openitem('depot')
wait(1000,1500)
openitem('inbox' , 'Locker' , false , 0)
wait(1000,1500)

while (itemcount("Dwarven Ring", MainBP) < 20)
do
moveitems("Dwarven Ring", Inbox, MainBP, 20)
wait(1000)
end