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
Turn on and off auto Fisher
#1
hello, im looking for 2 lua's     First i want to turn off auto fishing if i have 20+ fish
second lua i want if fish less than 10 fish it will turn on auto fishing


i looked in forums and cannot find something to work

i tried to make it myself however im getting an error and cant get it to work

if itemcount('fish', '', true) => 20 then
setsettings('Tools/Auto Fishing/Enabled', false)
end
Reply

#2
Hello.

local count = itemcount('fish')
if count >= 20 then
    setsettings('Tools/Auto Fishing/Enabled', false)
elseif count < 10 then
    setsettings('Tools/Auto Fishing/Enabled', true)
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016