Advertisement
Guest User

Untitled

a guest
Apr 25th, 2015
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.             if(dialogues.isPendingContinuation()) {
  3.                 dialogues.clickContinue();
  4.                 sleep(random(200, 600));
  5.             } else if(dialogues.isPendingOption()) {
  6.                 dialogues.selectOption("Can I journey on this ship?");
  7.                 sleep(random(200, 600));
  8.             } else if(dialogues.isPendingOption()) {
  9.                 dialogues.selectOption("Search away, I have nothing to hide.");
  10.                 sleep(random(200, 600));
  11.             } else if(dialogues.isPendingOption()) {
  12.                 dialogues.selectOption("Ok.");
  13.                 sleep(random(200, 600));
  14.             } else {
  15.                 Entity sailor = npcs.closest("Seaman Thresnor", "Seaman Lorris", "Captain Tobias");
  16.                 if (sailor!= null) {
  17.                     sailor.interact("Pay-fare");
  18.                 } else {
  19.                     log("Sailor is null");
  20.                 }
  21.             }
  22.             sleep(random(200, 600));
  23.             break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement