Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. if(u.npcs.lastClickedNPC.isDead()) {
  2. RSGroundItem[] GIs = groundItems.getAllAt(t.getLocation());
  3. log("Starting Sleep:");
  4. while(u.npcs.lastClickedNPC.isDead() || GIs == groundItems.getAllAt(t.getLocation()))
  5. {
  6. log("Sleeping");
  7. sleep(random(20, 70));
  8. }
  9. log("Done Sleeping");
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement