Teem0 0 Posted November 2, 2018 Hello, I'm wondering how I can make my botscript make the bot to stay within only 1 tile meaning that when it walks here it will go to this 1 specific tile and if it moves away it will basically go back.
7804364 231 Posted November 2, 2018 if (getLocalPlayer.getTile().equals(MYCUSTOMTILE)) { //standing on tile } else { getWalking().walk(MYCUSTOMTILE); } Something like that, might want to add more conditionals to stop spam click though
Nex 2546 Posted November 2, 2018 if (!getLocalPlayer.getTile().equals(tile)) { getWalking().walk(tile); }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.