ogustuce
2012-02-23 17:07:33
lol i tried to start writing a falcony script but i think my knowledge is too basic(I mean VERY basic). i keep getting identifier error >.< winch i dont really understand the meaning. w/e heres is what it look like (INCOMPLETE) I think my structure is the problem lol
FEEL FREE TO GIVE ME HINTS,TIPS =D apreciated
program Ogy's Falcony;
{$i srl/srl.simba}
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active:=True;
end;
procedure FalconGuy;
var x, y: integer;
begin
if FindObj(x, y, 'alk-to', 3251357, 35) then
begin
Mouse(x, y, 2, 2, false);
ChooseOption('alcony');
end;
begin
repeat
if(FindColorTolerance(x, y, 3956331, 0, 0, 700, 500, 5))then
begin
Mouse(x,y,1,1,True);
Wait(2000);
end;
begin
if(FindColorTolerance(x, y, 4212298, 0, 0, 700, 500, 5))then
Mouse(x,y,1,1,True);
end;
begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
end;
begin;
end;
end.