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

simple color clicking script

eeeaddict

Newcomer
Joined
Mar 25, 2010
Sythe Gold
0
Messages
1
so I tried to make a script that clicks a color (the color code is 255) i tried but the script doesn't work so can anyone help?

here is what i made

Begin
MonsterColor = 255; //

var
x,y:integer;
Begin
activateclient;
Begin
if findcolor(x,y,MonsterColor,0,0,640,480) then
Begin
HoldMouse(x,y,true);
wait(100+random(50));
ReleaseMouse(x,y,True);
wait(5000+random(2000));
End;
if not (findcolor(x,y,MonsterColor,0,0,640,480)) then
Writeln('Couldnot find color');
terminatescript;
End;
End.
 
Code:
var
x,y:integer;

const
MonsterColor = 255; //

begin
  activateclient;
  if findcolor(x,y,MonsterColor,0,0,640,480) then
  begin
    HoldMouse(x, y, true);
    wait(100+random(50));
    ReleaseMouse(x,y,True);
    wait(5000+random(2000));
  end;
  if not (findcolor(x,y,MonsterColor,0,0,640,480)) then
  writeln('Couldnot find color');
end.


this of course will only click once ;) i dont know if this was what you wanted i just fixed what you had in your script
 
Did it work?
 
Runescape Gamblingrunescape gambling
Back
Top