Guest User

Untitled

a guest
Oct 17th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. nynjal trading method
  2.  
  3. RSItem RSthing = inventory.getItem(995);
  4. if (RSthing != null) {
  5. RSthing.interact("Offer-All");
  6. sleep(random(2000,3000));
  7. }
  8.  
  9. RSComponent accepted = interfaces.getComponent(335, 37);
  10. RSComponent accept = interfaces.getComponent(335, 17);
  11. RSComponent accepted2 = interfaces.getComponent(334, 34);
  12. RSComponent accept2 = interfaces.getComponent(334, 21);
  13. while (!accept2.isValid()) {
  14. if (accept.isValid()) {
  15. accept.doClick();
  16. }
  17. sleep(2000);
  18. }
  19. while (accept2.isValid()) {
  20. if (accept2.isValid()) {
  21. accept2.doClick();
  22. }
  23. }
Add Comment
Please, Sign In to add comment