Please, i need help can u help me?

wait (2000)
wait (2000)
openitem(3502, "locker")
wait (2000)
openitem(2870, "depot chest")
wait (3000)
moveitems('throwing star', "red backpack", "yellow backpack", "grey backpack", 100)
wait (5000)

How can I modify the bot to move the stackable items of my red backpack, to yellow backpack inside the gray backpack?

And how can i to modify to move the non-stackables items of my red backpack to brown backpack inside the grey backpack?

Thanks so much!