Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help stack item script
#1
Hello, im trying to use this script but it doens't move to belt


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


from:
|Only Registered members can see download links. | Click here to buy subscription or here to register.


can you help me fix it?
Reply

#2
What's your goal? Because you are saying that wanna stack items but your script will only stack items after changing gold into platinum.
If you just wanna stack items then you just call:
stackitems()
Reply

#3
I want it to change gold to platinum, stack items, and move it to belt
Reply

#4
The script you posted does that and works just fine. Are you using it in your persistents?
Did you tried increase the wait time after "stackitems()"? For example: from "wait(500, 700)" to "wait(800, 1200)"
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016