Hey!

I use this script

Code:
local items = {3371, 3280, 3382, 3381, 3415, 3279, 3385, 3419, 3369}
local MainBP = "Backpack of Holding"
local OtherBP = "Camouflage backpack"

	Module.New("Sort Supplies", function()
		local bp1 = Container(MainBP)
			for spot, item in bp1:iItems() do
				if (table.contains(items, item.id)) then
					bp1:MoveItemToContainer(spot, Container.New(OtherBP):Index())
				break
			end
		end
	end)
and here is my problem
1.PNG

I got on ID list moving Fire Sword to Camouflage Backpack but this script wanna move it on 1st slot of that BP where is next Camouflage BP to open. This script move 20 items to 1st slot and it see 1/20 bp but can't move more items because 1st slot is full... any solution?