Honestly is this for PvP, drop potential gaining?
Anyway, I've come up with this.
SCAR Code:
Program New;
{.include SRL\SRL.scar}
Var
LastAnti : Integer;
{*******************************************************************************
Function TimePassed(TimeMarker, Passed): Boolean;
By: Floor66
Description: Returns wether the time "Passed" has passed since "TimeMarker" was
marked.
*******************************************************************************}
Function TimePassed(TimeMarker, Passed): Boolean;
Begin
Result := ((GetSystemTime - TimeMarker) >= Passed);
End;
Procedure AntiLogout;
Begin
MarkTime(LastAnti);
Case Random(25) Of
0..4: RandomMovement;
5, 6: GameTab(1 + Random(10));
7..10: HoverSkill('random', False);
11..25: Wait(1000 + Random(555));
End;
End;
Begin
SetupSRL;
ActivateClient;
While LoggedIn Do
Begin
//This part does the AntiLogout, random, OR if no AntiLogout has been done in 2~4minutes,
//it will do AntiLogout too (just a failsafe).
If (Random(25) = RandomRange(1, 4)) Or TimePassed(LastAnti, RandomRange(120000, 240000)) Then
AntiLogout;
FindNormalRandoms;
End;
End.
Couldn't compile it but I think it works.