Quote Originally Posted by dean015 View Post
@headkevin
Code:
local SuppliesBP = "Jewelled backpack"
Code:
Module.New('Shove-pots', function(mod)
    local DROP_ITEMS = {"mana potion", "great health potion", "ultimate health potion"}
 
    for i = 0, #Container.GetAll() do   -- let's find bps
        search = Container.New(i)
        cont = Container.New(SuppliesBP)
        for spot = 0, cont:ItemCount() do
            local item = search:GetItemData(spot)
            if cont:isOpen() and search:Name() ~= cont:Name() then
                if table.find(DROP_ITEMS, Item.GetName(item.id)) and not cont:isFull() then
                    search:MoveItemToContainer(spot, cont:Index(), 0, 100)  -- just shove to selected bp
                end
            end
        end
    end
end)
just edit it to move whatever you want to move

but if you open a dp box with these items it will move them all to the bp
ur code move suppiles when buying manas or when bot finished talk with npc?