I have only a code to show you, first of all, read entire Lucas Terra Library...
local function moveitemstodepot(frombp, categoriesAndDestinationsTable) local frombp = getlootingdestination(frombp)
local id = itemid(frombp)
I supposed that, if you not you the LOOTBP the bot will open bps in Depot, to check if there are items... And then try to move it to...
Bye!