instead of just helping him solve his errors that hes posting, you should also fix it to use SRl procedures, not base scar ones. This is an SRL site as it is.
Code:
program Autologin;
{.include SRL/SRL.Scar}
// Changed all scar clickmouses to BETTER SRL mouse procedures.
const
Username = 'Insert username here';//Username that you want to login on.
Password = 'Insert Password Here';//Password that you want to use.
Procedure Login;
begin
//assuming the next 3 mouse things click play rs, the quality, and best world buttons
Mouse (762, 339,1,1,True)
Mouse (678, 408,1,1,True)
Mouse (512, 335,1,1,True)
Wait(100000)// im assuming this is waiting for the client to load? BAD way to do it.
Mouse (575, 541,1,1,True)
Typesend(Username+chr(13));//use the srl text typing feature
Wait(1000+random(100));
Typesend(Password);
Mouse(426, 569,1,1,True)
end; //Procedure ends with "End;" not with "End."
begin
SetupSRL;
LogIn;
end. //Main loop ends with "End."