Results 1 to 5 of 5

Thread: Simple move to color script plz

  1. #1
    Join Date
    Apr 2008
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Simple move to color script plz

    can some 1 please make me a script which takes the color i give it and just moves the mouse to that location, not using smart, i dont know much about scripting but tried changing some stuff from scripts that have similar things but it don't work proper...

  2. #2
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    SCAR Code:
    program colorfinderthenmousemover;
    {.include SRL\SRL.scar}
    var
    x,y: integer;
    color: integer;

    procedure findandmove;
      begin
      color :=yourcolorhere;
        if findcolorspiral(x,y,color,msx1,msy1,msx2,msy2) then
        MMouse(x,y,5,5)
      end;
    begin
    setupsrl;
    activateclient;
    findclick;
    writeln('mormonman is awesome');
    status('mormonman is awesome');
    disguise('mormonman is awesome');
    end.
    i think it works...
    Edit: it works...

  3. #3
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    color: integer;
     
    procedure findandmove;
      begin
      color :=yourcolorhere;
    Wouldnt it be just easier to add the colour to the variable using a const and then use that or just add a color to the
    SCAR Code:
    findcolorspiral
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

  4. #4
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    this would let him use different colors in the same procedure... just depends on what you want

  5. #5
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by mormonman View Post
    SCAR Code:
    program colorfinderthenmousemover;
    {.include SRL\SRL.scar}
    var
    x,y: integer;
    color: integer;

    procedure findandmove;
      begin
      color :=yourcolorhere;
        if findcolorspiral(x,y,color,msx1,msy1,msx2,msy2) then
        MMouse(x,y,5,5)
      end;
    begin
    setupsrl;
    activateclient;
    findclick;
    writeln('mormonman is awesome');
    status('mormonman is awesome');
    disguise('mormonman is awesome');
    end.
    i think it works...
    Edit: it works...

    you should use a tolerance if it's for runescape but that's not a big deal but it wouldn't work because in the mainloop you have findclick; but you called the procedure findandmove; not findclick; so you would have to fix that then it would work I think

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. My First Script(Text, Move Anti-Afk)
    By leech4life in forum First Scripts
    Replies: 5
    Last Post: 10-21-2008, 11:45 PM
  2. My script doesnt move!
    By Rora in forum OSR Help
    Replies: 2
    Last Post: 12-07-2007, 08:12 PM
  3. Replies: 5
    Last Post: 03-26-2007, 07:57 PM

Posting Permissions

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