Teem0 0 Share 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. Link to comment Share on other sites More sharing options...
7804364 230 Share 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 Link to comment Share on other sites More sharing options...
Nex 2542 Share Posted November 2, 2018 if (!getLocalPlayer.getTile().equals(tile)) { getWalking().walk(tile); } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.