Results 1 to 4 of 4

Thread: Talking to NPC

  1. #1
    Join Date
    Mar 2013
    Location
    Argentina
    Posts
    758
    Mentioned
    27 Post(s)
    Quoted
    365 Post(s)

    Exclamation Talking to NPC

    Hey, i´ve been looking in the includes to try and find functions to talk to npc and choose options.

    Im trying to make the bot click: continue, continue, option 1. to travel to karamja, but it couldn´t find any built in option myself. Are there any ?

    Thank you, Undorak7

  2. #2
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default



    conversationbox.simba
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  3. #3
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Simba Code:
    function findNPC(): boolean;
    begin
      //if find & click NPC
      //result := true;
    end;

    procedure navigateChat();
    begin

      if conversatopnBox.isOpen(5000) then
      begin
        conversationBox.continue(true, true);
        conversationBox.continue(true, true);
        conversationBox.selectOption(1);
      end;

    end;

    begin

      if findNPC() then
      begin
        writeLn('Found NPC');
        navigateChat();
      end;

    end.

  4. #4
    Join Date
    Mar 2013
    Location
    Argentina
    Posts
    758
    Mentioned
    27 Post(s)
    Quoted
    365 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post


    conversationbox.simba
    Quote Originally Posted by The Mayor View Post
    Simba Code:
    function findNPC(): boolean;
    begin
      //if find & click NPC
      //result := true;
    end;

    procedure navigateChat();
    begin

      if conversatopnBox.isOpen(5000) then
      begin
        conversationBox.continue(true, true);
        conversationBox.continue(true, true);
        conversationBox.selectOption(1);
      end;

    end;

    begin

      if findNPC() then
      begin
        writeLn('Found NPC');
        navigateChat();
      end;

    end.
    Thank you both very much!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •