So I have the following action below, is a regular place in the depot, with dpbp, stackdpbp and lootdpbp. But I wanted to do different, wanted the script did opening of the depot 1, and plays up the loot in bp I'll leave it, and then another action to open the depot 2 and throw the item inside.
setsetting('Looting/OpenNextBP', 'yes')
setsetting('Looting/OpenNextBP', 'yes')
setsetting('Persistent/Scripts/Open bp/Enabled', 'no')
setsetting('Persistent/Scripts/Open bp/Enabled', 'no')
setsetting('Persistent/Scripts/hur/Enabled', 'no')
setsetting('Persistent/Scripts/hur/Enabled', 'no')
local LootBP = getlootingdestination('lootbp')
local MainBP = getlootingdestination('mainbp')
closewindows() wait(700,1000)
openitem(MainBP, 'back') wait(1000,3000)
resizewindows(MainBP, '0') wait(1000,3000)
openitem(LootBP, MainBP)
wait(1000,3000)
resizewindows(LootBP, '1')
wait(700,1000)
openitem(LootBP, LootBP)
wait(700,1000)
openitem(LootBP, LootBP)
wait(700,1000)
openitem(LootBP, LootBP)
wait(700,1000)
openitem(LootBP, LootBP)
wait(700,1000)
openitem(LootBP, LootBP)
wait(700,1000)
minimizewindows('equip')
depotaction('maindpbp', 'lootbp', {'s','stackdpbp','l','lootdpbp'})