adawaska 1 Posted August 29, 2018 Hi, how can i make my script world hop when the shop is run out of stock?
Milasoft 202 Posted August 29, 2018 https://dreambot.org/javadocs/org/dreambot/api/methods/worldhopper/WorldHopper.html
adawaska 1 Author Posted August 29, 2018 15 hours ago, Milasoft said: https://dreambot.org/javadocs/org/dreambot/api/methods/worldhopper/WorldHopper.html If shop runs out of stock?
Milasoft 202 Posted August 29, 2018 Well you'd have to check the amount of items in the shop like: if(getShop().count("Item") > 0)) { //buy item } else { //hop world }
adawaska 1 Author Posted August 30, 2018 8 hours ago, Milasoft said: Well you'd have to check the amount of items in the shop like: if(getShop().count("Item") > 0)) { //buy item } else { //hop world } Thank you
Recommended Posts
Archived
This topic is now archived and is closed to further replies.