keep getting a type mismatch error on line 7
SCAR Code:
program Distillery;//By RaptorBlaze(my first script w00t)
var
a,b,x,y,c,d,e,f: Integer;//a,b=Left piece coords, x,y=Right piece coords c,d,e,f=Inputs for formulae
procedure moveright;
begin
c:=a+40;
d:=b<y;
e:=a-40;
f:=(b>d);
if findcolor(a,b;12645373,0,0,899,1439) then
clickmouse(a,b,true);
if findcolor(x,y;8829120,a,b,c,d) then
clickmouse(x,y,true);
else
if findcolor(x,y;4245488,a,b,e,f) then
clickmouse(x,y,true);
end;
repeat
moveright
wait(500+random(200))//added random for more humanity(just in case)
until(iskeydown('a'));
I think its because of the greater than/less than signs i am trying to use but i don't know how to do a greater than/less than formula in the variables without them and i can't find a tutorial on it.