intothedark
-
Posts
6 -
Joined
-
Last visited
-
Feedback
0%
Posts posted by intothedark
-
-
Trial for thiever please. if its what i need ill buy it now. Can you launch off command line?
-
tiral please does this have cli support?
-
Looking for trusted members to grind me allΒ the regicide quest line.Β Plague city,Bio hazard,underground pass. regicide. I have Β 56 agility and good enough combat stats.
Enter amount Dialogue
in Scripting Help
Posted
Can someone show me a small snippet of responding to an npc dialogue where you need to enter a specific amount X?
if (!dialogues.inDialogue()) { if (npc != null) { if (npc.isVisible()) { if (npc.interact("Talk-to")) { new ConditionalSleep(random(1000, 2000)) { public boolean condition() throws InterruptedException { return dialogues.inDialogue(); } }.sleep(); } } else { getCamera().toEntity(npc); } } } else { if (dialogues.isPendingOption()) { dialogues.completeDialogue("amount", "amount1, "amount2","amount3"); sleep(random(400, 900)); } if (dialogues.isPendingContinuation()) { dialogues.clickContinue(); sleep(random(400, 900)); } }
im trying to input a certain amount when i get to a dialogue that asks it.Β