olekbb
06-29-2016, 03:48 PM
Hello !
I need help with script,
'Move platinums coin from yellow backpack to blue backpack (bps are in depot)'
Thanks !
seba2632
07-06-2016, 10:19 AM
Here you go:
local items = {3035}
local MainBP = "Yellow backpack"
local OtherBP = "Blue 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)
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.