KouD 0 Share Posted May 27, 2023 Hi, let me introduce myself, I'm new here and I'm learning both to program with java and to do bot scripts, and if you can help me with a simple question, I would really appreciate it. I have a little problem here and is that when I put this for example: GrandExchange.addBuyItem("Nature rune"); GrandExchange.setQuantity(125); continue with the next method without having finished the last one and I was wondering if there is any way to make it not continue with the next one until it has finished performing its function in this case of not putting the amount until you have searched for nature rune and it is selected. Thanks in advance. Link to comment Share on other sites More sharing options...
pakruojinis 11 Share Posted May 27, 2023 use sleepUntil() Link to comment Share on other sites More sharing options...
f4i13rr0r 1 Share Posted May 28, 2023 GrandExchange.getItemChildInSearch(); sleep(3000,5000); Try playing with the api docs and look into all the things you can use GrandExchange with. Javadocs DB Javadocs grandexchange Javadocs grandexchange Status if status empty is not true then. set buy item. else set amount. N00b h3r3 t00!!!! Link to comment Share on other sites More sharing options...
KouD 0 Author Share Posted June 1, 2023 On 5/28/2023 at 5:47 AM, f4i13rr0r said: GrandExchange.getItemChildInSearch(); sleep(3000,5000); Try playing with the api docs and look into all the things you can use GrandExchange with. Javadocs DB Javadocs grandexchange Javadocs grandexchange Status if status empty is not true then. set buy item. else set amount. N00b h3r3 t00!!!! Thank you very much for the tips, that's what I'm doing more or less, trying each method one by one to see what they do, I'm going to try and see as you said Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now