--local FLASKS = {283,284,285}
--
--for i = 1, #FLASKS do
-- if (itemcount(FLASKS[i]) >= 10) and (maround(4,false) == 0) then
-- moveitems(FLASKS[i],"all",ground(posx,posy,posz),100)
-- end
--end
--
Doesnt work, why?
--local FLASKS = {283,284,285}
--
--for i = 1, #FLASKS do
-- if (itemcount(FLASKS[i]) >= 10) and (maround(4,false) == 0) then
-- moveitems(FLASKS[i],"all",ground(posx,posy,posz),100)
-- end
--end
--
Doesnt work, why?
Because it's commented. Remove the -- and replace the moveitems() line with just moveitems(FLASKS[i], 'ground') and it will work normally
can u fix that and give me correctly script? cuz Im too newbie
auto(200)
local FLASKS = {283,284,285}
for i = 1, #FLASKS do
if (itemcount(FLASKS[i]) >= 10) and (maround(4,false) == 0) then
moveitems(FLASKS[i], 'ground')
end
end