Results 1 to 2 of 2

Thread: Help with NPC fighter + looter.

  1. #1
    Join Date
    Feb 2017
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with NPC fighter + looter.

    Hey guys, I'm new to scripting.

    This is what I have so far -
    Program KillMen;
    {$i srl/srl.simba}
    Procedure ClickNPC;
    var
    X,Y:Integer;
    begin
    if FindColorTolerance(X, Y, 4098201, 793, 52, 326, 1289, 371) then
    begin
    mmouse(x, y,1,1);
    wait(250);
    ClickMouse(X, Y, mouse_Left)
    end;
    end;
    Begin
    MouseSpeed := 15;
    SetupSRL;
    end.

    This script is for an rsps - basically there's a static NPC, the script will click the colour specified and that's it so far.
    After it does this, I need it the script to wait 40 seconds, and then look for another colour (has one rare drop) and if the colour is found click on it, if not, repeat the process.

  2. #2
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    osrs or rs3?

    <------------------>



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
  •