• Log in or sign up for an account here: https://www.sythe.org/login

Help with a semi-basic command.

  • Thread starter Thread starter Akkida
  • Start date Start date
A

Akkida

Guest
If I wanted to make a simple script that moves the cursor to and clicks on the color you tell it to. What would it look like?
 
well a detectable way is
Code:
const 
  color=00000;//the color to click

var
  x,y : integer;
begin
    if(FindColor(x,y,color,0,0,1027,1027))then
  begin
    moveMouse(x,y);
    wait(300);
    clicmouse(x,y,true);
  end;
end.
if you want it for rs, DO NOT use that, it's detectable.
 
This will click on the color once. PM me if you want to make one that will keep clicking until your inventory is full or let me know if it's an autofigher.

Code:
Program ClickColor;

Procedure ClickTheColor;

var
x,y : integer;

begin
  [B]if[/B] FindColorSpiralTolerance(x,y,yourcolorhere,MSX1,MSY1,MSX2,MSY2,10) then
        begin
           Mouse(x,y,2,2);
        end else
          begin
             TerminateScript;
         end;
end;


begin
  SetupSrl;
  ActivateClient;
  ClickTheColor;
end.
 
Runescape Gamblingrunescape gambling
Back
Top