PDA

View Full Version : My first SRL script (only a auto login)



XcanadamanX
11-10-2006, 02:36 AM
Here is my auto login. please post some comments or something. my next script i hope is going to be an al karid smelter.

program login;
{.include SRL/SRL.scar}

const username = ''; //username here
password = ''; //password here

Procedure login;
begin
clicktext('Existing user',357,242,955,575)
SendText(username+chr(13))
SendText(password)
clicktext('Login',230,300,375,340)
wait(6000)
CMouse(390,337,5,5,true)
end;

Procedure progressreport;
begin
writeLn('XcanadamanX login')
writeLn('Log in successful')
end;

begin;
setupSRL
login
progressreport
end.

Rams89
11-10-2006, 02:48 AM
not too bad it works for me;) Looking forward to your smeltor.

XcanadamanX
11-10-2006, 01:00 PM
thanks:)