This is probably a PebKac (google that
) But im getting a Variable expected in here:
SCAR Code:
procedure MyClickToContinue;
var
TheColor: integer;
begin
repeat
if(FindColorSpiralTolerance(265, 453, 16711680, 95, 399, 488, 468, 15))then //<--- this line!
begin
Mouse(x, y, 0, 0, true);
GetMousePos(x, y);
TheColor := GetColor(x, y);
wait(200);
MouseBox(102, 370, 465, 411, 3);
FindPleaseWait(ColorFound);
wait(1000 + Random(3000));
Result := true;
end;
until not(FindColorSprialTolerance(265, 453, 16711680, 95, 399, 488, 468, 15));
end;