August 25, 201312 yr ANOTHER QUESTION: Can you for example say if((BANK_AREA && WALK_AREA).contains(client.getmyPlayer())); so you check 2 areas. Is that possible? Hey all. Made a skeleton for my first script I'm working. Does this look good? You're supposed to start it at the bank. This is my onloop public int onLoop() { if (BANK_AREA.contains(client.getMyPlayer())) { if (client.getInventory().isFull()) { //bank } } else { //walk to field, check the gate } if (!client.getInventory().isFull()) { //pick potato } else { //walk to gate, check it and then go to the bank } return 50; } } Edited August 26, 201312 yr by Athylus
August 25, 201312 yr funny how 20people are watching the topic and waiting for someone to reply so they can repost the first answer said xD
August 25, 201312 yr Looks like it makes sense to me. You may want to not have it return 0, because that means it checks the conditions every 0 milliseconds. Anything from 50-75 is good.
August 25, 201312 yr Author Thanks Sherlock, I'll change that. Guess I'll have to try it for myself hehe. More advice would be appreciated, I want to learn this and came here for support. Edited August 26, 201312 yr by Athylus