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
Check Supplies and Logout.
#1
Hello

I need action scripts for my cavebot.

Action1 - Check Supplies

Check amount of assassin stars/mana fluids/Ultimate healing runes

If amount supplies is ok then go to label "start" if amount of supplies is:

Assassin stars <10
or mana fluids <50
or ultimate healing runes < 10

Then stop targetting, and go to label "exit".

Action2 - Logout
Stop cavebot
wait until pz will disapear and logout.
Reply

#2
Hello.

1st script
local CONFIG = {
    { Supply = 'assassin star', MinCount = 10 },
    { Supply = 'mana fluid', MinCount = 50 },
    { Supply = 'ultimate healing rune', MinCount = 10 }
}

for _, config in ipairs(CONFIG) do
    if itemcount(config.Supply, '', true) < config.MinCount then
        setsettings('Targeting/Enabled', false)
        gotolabel('exit')
        return
    end
end

2nd script
setsettings('Cavebot/Enabled', false)
while battlesigned() do
    wait(500)
end
logout()
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016