Adblock breaks this site

Colour Detection + Right-click

Discussion in 'Script Requests' started by Rothya, Jan 13, 2010.

  1. Rothya

    Rothya Newcomer

    Joined:
    Jan 13, 2010
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0
    Colour Detection + Right-click

    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:
     
  2. radiclerobby

    radiclerobby Apprentice
    Banned

    Joined:
    Mar 9, 2008
    Posts:
    720
    Referrals:
    0
    Sythe Gold:
    0
    Colour Detection + Right-click

    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.
     
  3. Ace257

    Ace257 Member

    Joined:
    Feb 13, 2008
    Posts:
    41
    Referrals:
    0
    Sythe Gold:
    0
    Colour Detection + Right-click

    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. :)
     
< Paying For Easy/short/simple Script! | I need an image/color detector for ypp >


 
 
Adblock breaks this site