T := GetSystemTime;
while (not(FindColor(Tx, Ty, 0, 8, 458, 45, 470))) and (GetSystemTime - T < 5000) do
Wait(100);
if (FindColor(Tx, Ty, 0, 8, 458, 45, 470)) then
if (not(FindTextTpa(0, 0, 7, 457, 137, 475, Players[CurrentPlayer].Nick, SmallChars, Nothing))) then //Double check if logged in player is what we think it is
begin
WriteLn('Logged In Player is not in Players array.');
LogOut;
Wait(1000 + Random(1000));
LoginPlayer;
Exit;
end;
###################################################################
Ultra Cut n Bank V1.72
Final Report
Ran for: 1 Minutes and 13 Seconds
Total Players: 1
Total Banks: 0
Total XP earned: 0
###################################################################
Player0 Still Active? no. earned: 0 XP. reason ended: Could Not Find Tree Icon After 3 attempts to reposition.
Successfully executed
Line 310: [Hint] (5198:1): Variable 'T' never used in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Login.scar
File access error
SRL Compiled in 329 msec