View Full Version : Moving a specific item to other container
Prottek
01-17-2016, 09:15 PM
Hi there,
I'm looking for a script that would move a specific item X from backpack A to backpack B. I want bot to move MPs from one backpack to another one that's in the main backpack.
Anybody could please help me out with a done script or atleast help me make one?
Regards
Prottek
01-18-2016, 10:41 PM
Refresh.
Merre
01-19-2016, 02:29 AM
Module.New('SuppMover', function(suppmovemodule)
local ManaID = 268
local HealthID = 7643
local SuppBP = "Zaoan Chess Box"
local items = {ManaID, HealthID}
bp1 = Container(0)
for spot, item in bp1:iItems() do
if (table.contains(items, item.id)) and Self.isInPz() then
bp1:MoveItemToContainer(spot, Container.New(SuppBP):Index())
end
end
suppmovemodule:Delay(500, 1000)
end)
Prottek
01-19-2016, 09:53 PM
Scripts works perfectly, but when I have it on, it really lags my depositer so it can't even reach the depot to deposit items. Any ideas?
Merre
01-20-2016, 10:51 AM
try to higher the numbers on line 13, from 500, 1000 to 2000, 3000
Prottek
01-20-2016, 02:14 PM
I did put 15000 and 20000 cause I deleted "selsisinpz" line and it works perfectly now. Thank you very much for the script :)
Luucek
04-21-2016, 07:18 PM
Nice script. Helped me alot.
melimao
07-21-2016, 04:19 AM
isinpz = safe zone
but how do i move item outside safe zone?
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.