PDA

View Full Version : Beginner script not working.



Gilbert
10-27-2006, 09:02 PM
Would someone please tell me why this doesn't work? Thanks


program Text;
{.include SRL\SRL.scar}

procedure login;
begin
SetupSRL;
ClickText('Existing user', 357, 242, 955, 575)
end;

begin
SetupSRL;
end.

Bigfish58
10-27-2006, 09:49 PM
Ok, first off

You have setupSRL; twice, you only need it once, in your main loop..

Secondly the procedure ClickText clicks Runescape in game text, not just random text on the front page ;)

And lastly, you havent added login; to your main loop...


program Text;
{.include SRL\SRL.scar}

procedure login;
begin


end;

begin
SetupSRL;
login;
end.

Try again using that above template :cool:

Gilbert
10-27-2006, 10:32 PM
Thanks!