June 25, 20196 yr Im trying to hop to a PVP world, but my script gets stuck on the dialogue. Here is the code: if (!Lumbridge.contains(myPosition())) { log("Walking to lumby"); getWalking().webWalk(Lumbridge); } else if (getDialogues().inDialogue()) { log("In dialogue"); getDialogues().selectOption("Switch to it"); } else if (worlds.getCurrentWorld() != 371) { log("Hopping to PVP world"); worlds.hop(371); } else if (!getBank().isOpen()) { log("Opening bank"); getBank().open(); Somehow I think the client doesn't recognize it as a dialogue. I've tried with using RS2Widget but still I had no luck. R=193 -=00 --=3 I've also tried completeDialogue and it gave me the same result. Any help is appreciated! EDIT: It should be noted that in the logger it logs "in dialogue" so I'm suspecting that it doesn't get recognized as a dialogue at all. Edited June 25, 20196 yr by Nor3g
June 25, 20196 yr Author 7 minutes ago, Hybris said: getWidgets().getWidgetContainingText("Switch to it").interact(); Tyvm it works now
June 25, 20196 yr 4 minutes ago, Nor3g said: Tyvm it works now Glad I could help! If you have any more questions let me know!
Create an account or sign in to comment