can anyone tell me?

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

can anyone tell me?
  1. Unread #1 - Sep 27, 2007 at 2:01 AM
  2. strongman
    Joined:
    Apr 9, 2007
    Posts:
    94
    Referrals:
    0
    Sythe Gold:
    0

    strongman Member

    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
     
  3. Unread #2 - Sep 30, 2007 at 12:33 AM
  4. killer turky
    Referrals:
    0

    killer turky Guest

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site