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 Alert on item count
#1
Alert on item count
local CONFIG = {
    Item = 'spear', -- Item to check. Id or name.
    Count = 10, -- If lower than this then play sound.
    Location = '', -- Container to check. Leave empty to check all open containers.
    ConsiderEquipments = true, -- Should also count from equipments?
}

if connected() and itemcount(CONFIG.Item, CONFIG.Location, CONFIG.ConsiderEquipments) < CONFIG.Count then
    playsound('default')
    flashclient()
end
Reply

#2
Hi! This function is giving an error.
I tried to use it to modify where there is a rune amount and then it went to a certain location, but even so I wasn't successful, can you help me?
Reply

#3
Hello.

The function works just fine. What's the error?
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016