Adblock breaks this site

can anyone tell me?

Discussion in 'Scar/Simba Help' started by strongman, Sep 27, 2007.

  1. strongman

    strongman Member

    Joined:
    Apr 9, 2007
    Posts:
    94
    Referrals:
    0
    Sythe Gold:
    0
    can anyone tell me?

    can anyone tell me whats wrong with this this is 1 procedure of the script

    procedure betty;

    begin
    wait(100)
    if(FindColorTolerance(x , y, BettyColor, 252, 210, 765, 548, 10) then
    begin
    wait(50)
    movemousesmooth(x, y);
    wait(50)
    clickmouse(x, y, true);
    wait(2000)
    movemousesmooth(484, 653);
    wait(2000)
    clickmouse(484, 653, true);
    wait(2000)
    movemousesmooth(522, 612);
    wait(2000)
    clickmouse(522, 612, true);
    wait(2000)
    end
    else
    wait(5000)
    If(FindColorTolerance(x , y, BettyColor, 252, 210, 765, 548, 10) then
    begin
    wait(50)
    movemousesmooth(x, y);
    wait(50)
    clickmouse(x, y, true);
    wait(2000)
    movemousesmooth(484, 653);
    wait(2000)
    clickmouse(484, 653, true);
    wait(2000)
    movemousesmooth(522, 612);
    wait(2000)
    clickmouse(522, 612, true);
    wait(2000)
    end;

    error= Line 48: [Error] (48:53): Close round expected in script C:\Program Files\SCAR 3.06\Scripts\Official Choaus and Deeath buyer.scar
     
  2. killer turky

    killer turky Guest

    Referrals:
    0
    can anyone tell me?

    If(FindColorTolerance(x , y, BettyColor, 252, 210, 765, 548, 10) ... This is missing an end ) at the end..it should be

    If(FindColorTolerance(x , y, BettyColor, 252, 210, 765, 548, 10)) then

    ...Just add that to both of the If's you have..and it should work fine
     
< ahh end of runescape!!!!!!!!!!!!!!!!!!!!!! | help with bitmaps >


 
 
Adblock breaks this site