Adblock breaks this site

Converting Code?

Discussion in 'Scar/Simba Help' started by FatalScar, Oct 30, 2009.

  1. FatalScar

    FatalScar Newcomer

    Joined:
    Oct 30, 2009
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0
    Converting Code?

    Anyone here any good with SCAR?
    Here's how it should be:
    Code:
    
    function mainloop() {
    if(FindColor(255, 255, 255) == true) { //FindColor(Red Value, Green Value, Blue Value)
       clickMouse(141, 284); //x & y coords;
       wait(1000);
       clickMouse(100, 300); // x & y coords
    } else {
       clickColor(FindColor(25, 50, 75)); //clicks a color
    }
    }
    And that code keeps looping...

    Can someone convert it to SCAR for me please?
     
  2. Belgin_Fish

    Belgin_Fish Member

    Joined:
    Dec 9, 2008
    Posts:
    50
    Referrals:
    0
    Sythe Gold:
    0
    Converting Code?

    Use the SRL Include



    This should work, get the SRL include and replace thecolor with the color you want to find and thetol with the color tolerance.

    Sorry if it doesn't, havn't coded in a while.
     
< I'm new to scar, and... | How to download and install SCAR? >


 
 
Adblock breaks this site