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
FREE Check fluid count from "Using ... " message
#1
Check fluid count from "Using ... " message
local ItemCheck = 'vial'
local msg = screenmessage()

if msg ~= nil and msg ~= '' then
  local count = itemcountmsg(ItemCheck, msg)
  if count >= 0 and count < 20 then
     playsound('alert_healthbelow')
     flashclient()
  end
end

Check multiple items count from "Using ... " message and go to label
local ITEMS = {
    { NAME = 'vial', MIN_COUNT = 10 }, -- Items names should be exactly like appears on the message.
    { NAME = 'rune', MIN_COUNT = 5 }, -- Items names should be exactly like appears on the message.
}
local LEAVE_LABEL = 'leave_hunt'


local msgs = getnewmessages()
for _, msg in ipairs(msgs) do
    if msg.type == 6 then
        for __, item in ipairs(msgs) do
            local count = itemcountmsg(item.NAME, msg.content)
            if count ~= -1 and count <= item.MIN_COUNT then
                gotolabel(LEAVE_LABEL)
                break
            end
        end
    end
end

keywords: check supply, check mana, check runes, check msg supply, check msg rune, check message supply, check message rune, check message mana, count mana, count supply, count rune
Reply

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

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

Hello.

That depends on you... Both tools (Cavebot and Persistents) can run LUA scripts, but the deal is how it works.
Cavebot -> Action runs a LUA script when you reach that Action wpt.
Persistent runs the script from time to time.
Reply

#4
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Okay, tnx alot
Reply

#5
This does not work on realera..
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016