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
Low on supplies - Leave

It's me again.

Im using this to see if paladin should go for supplies or not. But even if I have 500 bolts or 0 it doesnt change the action.
What is missing? I want it to either 'Leave' on low supplies, or 'Start Spawn'

if itemcount('bolts', '', true)>= 100 then

Why not just use this? i think your sign is in the wrong direction.

if itemcount('bolts') <= 100 then

|Only Registered members can see download links. | Click here to buy subscription or here to register.
It still doesnt follow that command even if it has bolts or not.
Tryed having 200 bolts in BP. It leaves, having 0 bolts, leaves, changin label to Start Spawn (which is the first node) if it has bolts, it stays, if it doesnt have bolts, it stays.

Any ideas?

That's because "bolts" is not an item, but "bolt". I also recommend using the 3rd parameter as true to also check items from equipments slots (like arrow slot).
if itemcount('bolt', '', true) <= 100 then

Forum Jump:

Forum software by © MyBB Theme © iAndrew 2016