SCAR Code:
// BEGIN CHECK FOR USERNAME TAKEN
if (GetColor(381, 145) = 1251528) then
Begin
ClearDebug;
Writeln('Sorry, this username was taken');
TerminateScript;//if name is taken, script will stop
End Else
Begin
ClearDebug;
Writeln('>>>>>>>> Recovery Info <<<<<<<');
WriteLn('Username = ' + Username);
Writeln('Password = ' + Password);
Writeln('01/01/1996');
Writeln('Email: Null');
End;
// END CHECK FOR USERNAME TAKEN
This way you only have to worry about one color. if you wanted to make it legit, make a bitmapmask of the text that ur trying to find. That's what I do when i Auto on Private Servers with different fonts then Regular RS.
heres example:
SCAR Code:
If (FindBitmapMaskTolerance(Mask_name, x, y, 0, 0, 50, 50, 5) then
Begin
These work very well with text, and are faster to make and find then DTM's.