well, the first thing you are missing is good standards
anyways.... your missing a few things
a few begins an end else.....
and you overuse the ";" in your script
here is what i think you want:
program Cursebot;
var
x, y: integer;
begin
repeat
clickmousebox(1035,317,1045,329,true)...
figured it out
in case this is searched for in the future - the answer is this procedure:
procedure ScriptTerminate;
begin
//your lines of code
end;
once anything terminates the program (the stop button or CTRL + ALT + S) is pressed it will do those lines of code before ending
at the beginning?
it would be these coordinates: (in bold)
if findcolor(x,y,INSERTCOLORHERE,0,0,8000,8000) = true then
where the 0,0 is the upper left starting corner, and 8000,8000 is the lower right corner, i just put 8000, 8000 cause that will cover almost ALL screens (unless you have a...
i would do something like:
program New;
var
x, y, x1, y1: integer;
complete: boolean;
begin
complete:= false
if findcolor(x,y,INSERTCOLORHERE,0,0,8000,8000) = true then
begin
repeat
if findcolor(x1,y1,INSERTCOLORHERE,x,y,x,y) = false then
begin...
is there a way to make a few lines of commands execute when the stop button is pressed or better yet, Ctrl + Alt + S is pressed?
thanks for any help
i am making a farmville auto raspberry farmer
if anyone wants it, i will be glad to give it to you, it is pretty much done