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
if no bolt/arrow, then go label X
#1
greetings!

As the tittle says, could anyone help me with the script to go to an label if there is no ammo?
Reply

#2
Hello.

Sure mate!

Checks for bolts only. If no bolts, goto label "X".
if itemcount('bolt', '', true) == 0 then
     gotolabel('X')
     return
end

Checks for bolts and arrows. If no bolts and no arrows, goto label "X".
if itemcount('bolt', '', true) == 0 and itemcount('arrow', '', true) == 0 then
     gotolabel('X')
     return
end
Reply

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


Arkilys, thank you for the swift reply!

May I ask you something else?

 Is it possible to have a similar script to this but > if bolt >100, go to label start. but if less then, continue to next waypoint?

EDIT:

I manage to do this one and seems to work. I'll leave it here may someone else finds useful:

if itemcount('bolt', '', true)>= 100 then
    gotolabel('start')
    return
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016