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
alert if X item is lower than 100
#1
Hello Akilys! 
I need a script that count how many fishes i have in my bag on the ground, and if fish count is lower than 1, i need to be alarmed

thanks for your support
Reply

#2
Hello.

This script will check how many fishes you have on all open containers.
if itemcount('fish') < 1 then
    playsound('default')
    flashclient()
end

If you just wanna check on a specific container then use the second parameter. You can use the container name (e.g.: red backpack), container id (1234) or container index (0).
if itemcount('fish', 'red backpack') < 1 then
    playsound('default')
    flashclient()
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016