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

Colour Detection + Right-click

Rothya

Newcomer
Joined
Jan 13, 2010
Sythe Gold
0
Messages
1
Hello everyone!

I hoped that someone out there would be able to help me out making this simple script for me. Basically all it needs to do is...

Detect a colour of my choice and then afterwards do a right click on that location - then wait 5seconds and do the same thing

Thank you very much in advance! :love:
 
easy mate here and goodluck with whatever your autoing

Code:
{.include srl/srl.scar}
var
m,v,q,x,y:integer;
const
color=881721;//replace 881721 with the color of your choice
stay=12;// how many milliseconds to wait between each of the find color
howmany=12;// how many times to look and click for color

begin
wait(100+random(300));
getclientdimensions(v,q);
repeat
if(findcolor(x,y,color,0,0,v,q))then
begin
mouse(x,y,2,2,false);
inc(m);
end;
wait(stay+random(100));
until(m=howmany);
end.
 
general info for everyone to left click means true if its true you dont have to write true, but if you want to right click this means you need to put false. just thought i'd comment. lol hope this helps someone looking at this thread to see what he changed. :)
 
Runescape Gamblingrunescape gambling
Back
Top