Log in

View Full Version : Leave cave when low supplies



krille09
06-27-2013, 03:01 AM
Hey, I'm sorry for not using the search function but it's much to take back when you have been inactive with the bot...

But I'm looking for a simple one-liner that can check my supplies, and if low leave the cave...

I need one to check when arrows low(pally ofc), sds low(ed) and mana potions low(ek)

If someone could make these script, I would be thankful :)

If it can't be in one-liner, then just make normal and I'll fix it with labels and stuff :)

Thanks for anyone who helps me! :3

thorekz
06-29-2013, 01:37 PM
This is supposed to check if you have less than 50 mana potions. If you do it will skip to label refill otherwise it will skip to label huntagain. You can then change the item ID to whatever you like so it could check your SD's, mana potions or whatever you like...
I havent tried it, just wrote it from what I remember so check if its working first!


if (Self.ItemCount(268) <= 50) then gotoLabel("Refill") else gotoLabel("HuntAgain") end