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
Change gold if more than 99gp
#1
|Only Registered members can see download links. | Click here to buy subscription or here to register.
I have tried to write it by myself. but it does not work perfect.

local gold_count = itemcount('gold coin', true)
if gold_count > 100 then
    useitem('gold coin')
    wait(100)   
end

I need to use only (gold coins with number 100) if on first place in BP stays other count than 100, but in bp is more than 100, it tries to use the first gold coin 
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Sad" title="Sad" class="smilie smilie_8" />
Reply

#2
local GOLD_COIN_ID = 3031
local PLATINUM_COIN_ID = 3035
local CRYSTAL_COIN_ID = 3043

local belt_slot = belt()

if belt_slot.id == GOLD_COIN_ID and belt_slot.count == 100 then
    useitem(GOLD_COIN_ID, 'belt')
    wait(800, 1200)
    belt_slot = belt()
    if belt_slot.id == PLATINUM_COIN_ID and belt_slot.count == 1 then
        moveitems(PLATINUM_COIN_ID, 0, 'belt', 100)
        wait(800, 1200)
    else
        stackitems('', true, PLATINUM_COIN_ID)
    end
elseif belt_slot.id == PLATINUM_COIN_ID and belt_slot.count == 100 then
    useitem(PLATINUM_COIN_ID, 'belt')
    wait(800, 1200)
    belt_slot = belt()
    if belt_slot.id == CRYSTAL_COIN_ID and belt_slot.count == 1 then
        moveitems(CRYSTAL_COIN_ID, 0, 'belt', 100)
        wait(800, 1200)
    else
        stackitems('', true, CRYSTAL_COIN_ID)
    end
elseif itemcount(GOLD_COIN_ID) >= 100 and belt_slot.count < 100 then
    moveitems(GOLD_COIN_ID, 'belt', '', 100)
    wait(1000)
elseif itemcount(PLATINUM_COIN_ID) >= 100 and belt_slot.count < 100 then
    moveitems(PLATINUM_COIN_ID, 'belt', '', 100)
    wait(1000)
end
Reply

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



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016