This is to use gold or platinum coins and stack.
local containers = getcontainers()
for _, container in ipairs(containers) do
for __, item in ipairs(container.items) do
if (item.id == 3031 or item.id == 3035) and item.count == 100 then
useitemslot(item.index, container.index)
wait(300, 500)
stackitems()
wait(300, 500)
break
end
end
end
This is to use gold coin, stack and move platinum coin to arrow slot.
local containers = getcontainers()
for _, container in ipairs(containers) do
for __, item in ipairs(container.items) do
if item.id == 3031 and item.count == 100 then
useitemslot(item.index, container.index)
wait(300, 500)
stackitems()
wait(500, 700)
moveitems('platinum coin', 'belt', container.index, 100)
wait(500, 700)
break
end
end
end
This is to use platinum coin, stack and move crystal coin to arrow slot.
local containers = getcontainers()
for _, container in ipairs(containers) do
for __, item in ipairs(container.items) do
if item.id == 3035 and item.count == 100 then
useitemslot(item.index, container.index)
wait(300, 500)
stackitems()
wait(500, 700)
moveitems('crystal coin', 'belt', container.index, 100)
wait(500, 700)
break
end
end
end
This is to use gold/platinum coins, stack and move only crystal coin to arrow slot.
local containers = getcontainers()
for _, container in ipairs(containers) do
for __, item in ipairs(container.items) do
if (item.id == 3031 or item.id == 3035) and item.count == 100 then
useitemslot(item.index, container.index)
wait(300, 500)
stackitems()
wait(500, 700)
if item.id == 3035 then
moveitems('crystal coin', 'belt', container.index, 100)
wait(500, 700)
end
break
end
end
end