pwnaz0r
2007-09-17 18:42:46
Well, I know that IsUpText isnt great because of all the color being so similar around it. It just seems that the way the colors and composed around it, it seems difficult to find. I made a quick function, and the reason i posted it here is that i didn't want to look stupid if SCAR's rs_GetUpText is not as good as SRL's. This is kinda just a basic function and I'm sure it could be made better, just gives you an idea.
function IsUpText(s: string): boolean;
begin
result:= Pos(s, rs_getuptext) <> 0;
end;