nething
2007-11-18 17:59:17
This is my second full script that I have made.
I made it to use on my main so that when I am Fishing/Woodcutting I can watch T.V. without worrying about randoms or Auto-Logout. It is really simple. All it does is do a bunch of things to stay logged in and checks for randoms (+ a few other features).
Features:
- Stays logged in for you
- Anti Randoms
- When inventory is full it pauses until you hit F2
- If you need to pause to switch trees/Fishing spots you can hit F1(then F2 to resume)
- Press F3 to stop
- Even has SRL-Stats (lol)
Please post feedback. Please don't flame. I know it is simple and doesn't really do anything but If you legit a lot you would know it is kinda handy.
I made it to use on my main so that when I am Fishing/Woodcutting I can watch T.V. without worrying about randoms or Auto-Logout. It is really simple. All it does is do a bunch of things to stay logged in and checks for randoms (+ a few other features).
Features:
- Stays logged in for you
- Anti Randoms
- When inventory is full it pauses until you hit F2
- If you need to pause to switch trees/Fishing spots you can hit F1(then F2 to resume)
- Press F3 to stop
- Even has SRL-Stats (lol)
Please post feedback. Please don't flame. I know it is simple and doesn't really do anything but If you legit a lot you would know it is kinda handy.
program StayLoggedIn;
{.include srl/srl.scar}
Const
YourSRLID = '';//Your SRL Stats ID
YourSRLPassword = '';//Your SRL Stats Password
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
SRLID := YourSRLID;
SRLPassword := YourSRLPassword;
Players[0].Name :=''; //Character name
Players[0].Pass :=''; //Character PAss
Players[0].Nick :=''; //Nickname 3 Letter of char name
Players[0].Active:=True; //True if you want this player to be ran in the script, false if not;
WriteLn('Using '+ IntToStr(HowManyPlayers) +' Players');
end;
procedure StayLoggedIn;
begin
case random(10) of
0: GameTab(random(14));
1: begin
GameTab(2);
HoverSkill('Fishing', False);
end;
2: AlmostLogout;
3: PickupMouse
4: PickupMouse
5: PickupMouse
6: begin
GameTab(2);
HoverSkill('Woodcutting', False);
end;
7: begin
GameTab(2);
HoverSkill('Strength', False);
end;
8: SetFightMode(1);
9: begin
SetRun(False);
wait(500 + Random(600))
SetRun(True);
end;
end;
FindNormalRandoms;
end;
begin
SetupSRL;
ClearDeBug;
ScriptID := '472';
ActivateClient;
repeat
StayLoggedIn;
If((InvFull) or (isFKeyDown(1))) then repeat
Wait(300)
until(isFKeyDown(2));
until((IsFKeyDown(3)));
end.