I play lunarforce and need it, someone can help me?
If have more than 100 gold coins, use the stack of 100 gold to change to platinum.
@EDIT: Already solved, here is the code:
Originally Posted by mistgun
auto(200, 300)
for i=0,15 do
local cont = getcontainer(i)
for j=1,cont.itemcount do
if cont.item[j].count == 100 and (cont.item[j].id == 3035 or cont.item[j].id == 3031) then
useitem(cont.item[j].id, i, j)
end
end
end
Credits to @mistgun
Last edited by Ntx; 12-14-2013 at 07:07 PM.
Reason: Solved