Powder gather for the colours of the magic event!
Hey guys.
Just made a simple script to gather strange powder, so you can get points for the event!
Just add the wizard letter to your loot list and add the powders id (12226, 12227, 12228) to your depositer script.
Att. Architect.
Code:
-- Powder gather
init start
local mainBp = "Pirate Backpack" -- Bp that you loot the letters
local rareBp = "Beach Backpack" -- Bp to hold the powders
init end
auto(100)
-- Using the letter
if (itemcount(12204, mainBp) ~= 0 and maround(8) == 0) then
pausewalking(1000)
useitem(12204, mainBp)
waitping(1.5,2)
pausewalking(0)
end
-- Moving Powders to Supply Backpack
for i = 12226, 12228 do
if (itemcount(i, mainBp) > 0 and maround(8) == 0) then
pausewalking(2000)
moveitems(i, rareBp, mainBp, 1)
waitping(1.5,2.0)
pausewalking(0)
end
end
-- Throwing the trash away
if (itemcount(12205, mainBp) ~= 0 and maround(8) == 0) then
pausewalking(2000)
moveitems(12205, 'ground')
waitping(1.5,2.0)
pausewalking(0)
end