And heres another one:
SCAR Code:
program MyFirstSCRIPT;
{.INCLUDE SRL/SRL.SCAR}
const//NOTE:const can't be changed through out the script, only variables.
Username='hello';
Password='indeed bruva';
procedure Login;
begin
Mouse(400,280,99,23,True);//Moves mouse and clicks on 'Existing Use'.
wait(50+random(100));//Look more human you wait for abit before doing next thing.
TypeSend(Username);//Types your Username.
wait(50+random(100));
Mouse(326,276,5,3,True);//Moves mouse and clicks on 'Password
wait(50+random(100));
TypeSend(Password);//Types your Password.
wait(50+random(100));
Mouse(239,309,126,22,True);//Moves mouse and clicks on 'Login'.
end;
begin
SetupSRL;
ActivateClient;/Brings the window infront of everything.
wait(1000);
Login;
end.
Or you could use DeclarePlayers; and LogInPlayer;