Startscript, after SMART opens up or you have runescape ready (depending on if you disable SMART or not) login then resume script.
This is a response to the massive hack that is going to take place on new years (no one really knows for sure if it's actually going to happen) but you can use this to stay logged in for bandits or whatever.
You may want to change minutes to stay logged in for.
SCAR Code:
//{.Include SRL\SRL\Misc\SMART.SCAR} //uncomment to enable SMART
{.Include SRL\SRL.SCAR}
const
Time = 120; //Minutes to stay logged in for.
var
T: LongInt;
begin
SetUpSRL;
{$IFNDEF SRL_SMART}
FindWindowBySize(766, 504);
Wait(500 + Random(250));
ActivateClient;
{$ENDIF}
Wait(RandomRange(12000, 15000));
T := GetSystemTime;
repeat
if (not (LoggedIn)) then
TerminateScript;
FindNormalRandoms;
case (Random(10)) of
0: RandomRClick;
1: HoverSkill('random', False);
2: SleepAndMoveMouse(500 + Random(5000));
3: PickUpMouse;
4: BoredHuman;
5..9: Sleep(RandomRange(12000, 30000));
end;
Wait(RandomRange(1000, 2000));
until ((GetSystemTime - T) > (Time * 60 * 1000));
end.