this is my very first script it is a gnome agility corse runner and i have no idea what im doing got this far and it has an error says identifier needed
here is the script
SCAR Code:
program agilityrunner;
{.include SRL/SRL.scar}
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := 'westkevin12';
Players[0].Pass := '';
Players[0].Nick := 'wes'; //three non-capital letters from username
Players[0].Active := False;
end;
Procedure findthelog;
Var zx, zy, x, y: integer;
Begin
If Not LoggedIn Then Exit;
MakeCompass('n');
If FindSymbol(zx, zy, 'agility') Then;
Begin;
Mouse(zx, zy, 5, 5, true);
Flag;
end;
{***********************************************************************}
{function ClickText2(txt: String; font, xs, ys, xe, ye: Integer; left: Boolean): Boolean;}
begin
IsUpTextMulti('Walk-across Log balance', 'ross Log bal', 'Log balance') then
begin
Mouse(x, y, 0, 0, true);
end;
begin
IsUpTextMulti('Climb-over Obstacle net', 'Obstacle net', 'Obstacle') then
begin
Mouse(x, y, 0, 0, true);
end;
begin
IsUpTextMulti('', '', '') then
begin
Mouse(x, y, 0, 0, true);
end;
begin
IsUpTextMulti('', '', '') then
begin
Mouse(x, y, 0, 0, true);
end;
end.