Rriku113
08-26-2007, 12:12 AM
program New;
var
x,y: Integer;
const
brushcolor= 16711680;
begin
if(Findcolor(x,y,brushcolor,0,0,600,600)) then
begin
MovemouseSmoothEx(x,y +random(0),20,40,45,25,20);
Wait(100+random(10));
Clickmouse(x,y,true);
end else
Writeln('Did not find the brush!')
end;
begin
Holdmouse(180,157,true);
Wait(100);
ReleaseMouse(180,273,true);
Writeln('Draw first line')
end.
I always get this error:
Line 16: [Error] (16:4): period ('.') expected in script
All im trying to do is get paint to draw a line with the spraypaint.
Yes im a noob at this scar stuff.
var
x,y: Integer;
const
brushcolor= 16711680;
begin
if(Findcolor(x,y,brushcolor,0,0,600,600)) then
begin
MovemouseSmoothEx(x,y +random(0),20,40,45,25,20);
Wait(100+random(10));
Clickmouse(x,y,true);
end else
Writeln('Did not find the brush!')
end;
begin
Holdmouse(180,157,true);
Wait(100);
ReleaseMouse(180,273,true);
Writeln('Draw first line')
end.
I always get this error:
Line 16: [Error] (16:4): period ('.') expected in script
All im trying to do is get paint to draw a line with the spraypaint.
Yes im a noob at this scar stuff.