ItsTimmyMan
2012-07-11 07:22:58
So, this is my FIRST ever attempt at a simba script.
I am trying to make a auto attacker and healer on mobster (myspace).
I don't really care about the game, I just thought it would be a good place to learn.
The problem is, when I try to run a script, it says "identifier expected at line 453". Line 453 is where my, [end.] is.
code:
I am trying to make a auto attacker and healer on mobster (myspace).
I don't really care about the game, I just thought it would be a good place to learn.
The problem is, when I try to run a script, it says "identifier expected at line 453". Line 453 is where my, [end.] is.
code:
program attackforever;
procedure checkhealth;
var
x, y:integer;
begin
if findcolorspiraltolerance(x, y, 0, 503, 204, 560, 110, 1) then
movemouse(725, 133);
clickmouse(725, 133, 1);
movemouse(1055, 102);
clickmouse(1055, 102, 1);
movemouse(665, 256);
clickmouse(665, 256, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
if findcolorspiraltolerance(x, y, 136, 572, 99, 602, 110, 1) then
begin
end;
clickmouse(661, 333, 1);
begin
end;
begin
checkhealth;
end.