Stupid SCAR jsaoja9fhalkjo4alkshjaosdj....
Im blind at the moment ... I cant tell why SCAR wont let this compile:
SCAR Code:if (FindMMColorTol(1413102, 10)) then /// This is line 420.
begin
ClickMMColorTol(1413102, 10);
end else
if (FindMMColorTol(126957, 10)) then /// Refer down. 424.
begin
ClickMMColorTol(126957, 10);
end else
WriteLn('Failed.');
end;
end;
Error:
Even if I put 420 to like, if (1=1) then ... it'll work. Until it gets to the next If statement, it'll give the same error... except line 424.Code:Failed when compiling Line 424: [Error] (18001:20): Variable Expected in script C:\Program Files\SCAR 3.0\Scripts\myscript.scar
Now, can anyone else tell me why this alxchg98xcjlkajmowgslkdgjasd script wont compile? Sorry... Im a bit flustered... Thanks anyone.


Reply With Quote







