SCAR Code:
SetupScript; //Uses the procedure which sets up the main things.
Writeln('Using smart, Waiting for it to Start...'); // a comment to tell the user what's going on.
SmartSetupEx(108, False, true); // Smarts loading procedure
Wait(2000); //Wait procedure, used to make sure no lag goes on.
while not(SmartReady) do // if SMART isn't ready, it will do the following:
Wait(1000); //Wait 1 second (1000 Miliseconds)
SetTargetDC(SmartGetDC); //Sets SMART's target
if not(LoggedIn) then //Fail safe if it isn't logged in.
while not(SmartGetColor(386, 249) = 65535) do // Until Smart loads, it will do the following:
Wait(1000); //Wait