haxal
2008-05-12 08:02:30
STAYLOGIN—BY HAXAL(T-KUAT)
This is my first script I made for my self to stay login.
This is simple script working with new version of scar 3.15 and new SRL#16.
Enjoy=)
What script does: Random right clicking on selected area. You can still chat… The script doesn't block chat functions.
Version 1
//Script made by T-KUAT(Haxal)//
program StayLogIn;
{.include SRL/SRL.scar}
begin
repeat
wait(50 + random(10000))
RandomRClick;
until false;
end.Version 2
//By T-KUAT(Haxal)// ( Thanks to bEnJa for his help )
program StayLogIn;
{.include SRL/SRL.scar}
procedure DeclarePlayers;
begin
HowManyPlayers := 1; // How many players
CurrentPlayer := 0; // Player will start
NumberOfPlayers(HowManyPlayers);
Players[0].Name := 'Username'; // Name of your account
Players[0].Pass := 'Password'; //Password (no need to enter)
Players[0].Nick := 'Nickname'; // Nick name 4-3 later
Players[0].Active := True;
Writeln('Using '+IntToStr(HowManyPlayers)+' Player[s].');
end;
procedure StayLogin;
begin
wait(50 + random(1000))
case Random(6) of
0:RandomRClick;
1:PickUpMouse;
2:AlmostLogout;
3:RandomMovement;
4:BoredHuman;
5:HoverSkill('Fishing', False); // You can change Fishing to any other skill
end;
end;
procedure SetUp;
begin
SetupSRL;
ActivateClient;
end;
begin
SetUpSRL;
DeclarePlayers;
LoginPlayer;
ActivateClient;
repeat
StayLogin;
until false;
end.I hope in future I can make something better than that =)