Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Organizer for ArchLightOnline
- Version 1.0 - PRIV VERSION (Ownership; Mr Trala)
- Created by Mr Trala
- Instructions;
- First of all reset your backpacks so the script can take your mainbp as "0"
- If you want to keep moving items, the "MoveTO" backpack should be the same.
- That's it!
- ]]
- config = {
- itemsID = {12724, 15826, 12510, 942}, -- Id of the items to be moved.
- MoveTO = "Purple Backpack" -- Your loot or whatever bp.
- }
- Module.New('Mover', function(mod)
- MainBP = Container(0)
- ContNE = Container.New(config.MoveTO)
- for spot, item in MainBP:iItems() do
- if (table.contains(config.itemsID, item.id)) then
- MainBP:MoveItemToContainer(spot, ContNE:Index(), ContNE:ItemCapacity() - 1)
- end
- end
- if (ContNE:ItemCount() == ContNE:ItemCapacity()) then
- local openAt = ContNE:ItemCount() - 1
- if (Item.isContainer(ContNE:GetItemData(openAt).id)) then
- ContNE:UseItem(openAt, true)
- wait(1500)
- end
- end
- mod:Delay(math.random(200 , 300))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement