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

can anyone tell me?

strongman

Member
Joined
Apr 9, 2007
Sythe Gold
0
Messages
94
Location
im not telling!!!!!!!!!!!!!!!!!!!! lol
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
 
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
 
Back
Top