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
Throw BP to X position
#1
Could you help me out make a script like this

Local ThrowBP (x,y,z)

Local RuneID ('x')

Local MainBP ('Grey Backpack')

Throw first BP inside MainBP when RuneID > 20 to location ThrowBP
Reply

#2
local ThrowBP = { x = 12345, y = 12345, z = 12345 }
local RuneID = 1234
local MainBP = 'Grey Backpack'

if itemcount(RuneID) >= 20 then
    local container = getcontainer(MainBP)
    if container.open then
        for _, item in ipairs(container.items) do
            if itemhasflags(item.id, 4) then
                moveitems(item.id, ground(ThrowBP.x, ThrowBP.y, ThrowBP.z), container.index, 100)
                wait(100)
                break
            end
        end
    end
end
Reply

#3
im getting this error

14:18:47 - LUA Script -> ThrowRuneBpDone: 9: 'do' expected near 'if'
Reply

#4
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Fixed
Reply

#5
thanks works perfectly
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016