I have fixed it up for you..
The way you had your mouse movements your account would of been banned pretty fast.
Never use 1 as a random value.. Mouse(342, 52, 1, 1, True);
program AutoLogin;
{.Include SRL\SRL\Misc\Smart.scar}
{.Include SRL\SRL.scar}
{-------------------------------------------------------------}
{-------------------------------------------------------------}
{--------------Welcome To Minkinos Auto Login Script----------}
{-------------------------------------------------------------}
{-------------------------------------------------------------}
// Simply type user and pass in the below section\\
//<><><><><><>-Select Your Client-<><><><><><><><><\\
//<><><><><><><><><>-And Play-<><><><><><><><><><><><\\
Const
Username := ''; // Set Runescape Username
Password := ''; // Set Runescape Password
Procedure TypeInUserAndPass;
begin
TypeSend(Username); // Set in the Const :)
Wait(1000+Random(1000));
Typesend(Password); // Set in the Const
WriteLn('SucessFully Typed In user and pass');
end;
Procedure ClickOnLogInButton;
begin
Mouse(378, 171, 5, 5,true);
Wait(1000+Random(3000));
WriteLn('Sucessfully clicked on Log In button');
end;
Procedure ClickOnPlay;
begin
wait(5000+Random(7000));
Mouse(376, 348, 10, 5,true);
WriteLn('Sucessfully Clicked On Play');
end;
begin
SmartSetUp('world38', True, True); {World prefix. Use low detail. Use unsigned Java.}
SetTargetDC(SmartGetDC);
SetUpSRL;
Activateclient;
ClickOnLogInButton;
TypeInUserAndPass;
ClickOnPlay;
end.