February 15, 20187 yr Is there a bot around here that drinks prayer pots if prayer is running low? I understand that it is fairly easy to make but I tried to make one myself but I'm not good at making bots at all.
February 15, 20187 yr Having trouble writing code itself or making it compile and etc while using tools you're not used to?
February 15, 20187 yr use an auto clicker instead if you are having a problem. it wont have the potential to be great, but it's a decent alternative.
February 15, 20187 yr Author 50 minutes ago, nosepicker said: Having trouble writing code itself or making it compile and etc while using tools you're not used to? Writing code itself.
February 15, 20187 yr 2 minutes ago, Attaboy said: Writing code itself. https://osbot.org/forum/topic/137485-c-prayer-potion-drinker/
February 15, 20187 yr As I think you wanna play legit and just need auto potion drinking then it's easy. "Pseudo" non tested code below int prayerPointThreshold = 10; String prayerPotName = "Prayer potion"; public int onLoop() { if (skills.getDynamic(Skill.PRAYER) <= prayerPointThreshold && inventory.contains(prayerPotName)) { inventory.interact("Drink", prayerPotName); new ConditionalSleep(5000, 250) { public boolean evaluate() { return skills.getDynamic(Skill.PRAYER) > prayerPointThreshold; } } } } Use proper potion names (can't remember how they are called) and dunno if the conditional sleep syntax is correct. Otherwise should work.
February 15, 20187 yr Author 2 hours ago, Castro_ said: https://osbot.org/forum/topic/137485-c-prayer-potion-drinker/ Thanks dude I appreciate it!!
July 4, 20187 yr On 2/15/2018 at 3:19 PM, Attaboy said: Thanks dude I appreciate it!! does this still work? i botted 99 combats at 2015, now range left and going to afk nmz to 95 and thn i should be good to level while doing slayer and need p pot drinker
Create an account or sign in to comment