yes there is plenty, no need to get all upset about it?
SCAR Code:
{*******************************************************************************
function setBoolean(T: String): Boolean;
By: Dankness
Description: Changes String to Boolean
*******************************************************************************}
function setBoolean(T: string): Boolean;
begin
try
StrToBool(t);
except
Result := False;
end;
end;
how many seconds did that take to write?
or this\/
SCAR Code:
{*******************************************************************************
function TradeScreen: Boolean;
By: masquerader
Description: Returns true if a trade interface is opened.
*******************************************************************************}
function TradeScreen: Boolean;
begin
if (GetColor(264, 194) = 49152) then
Result := True;
end;
or this \/
SCAR Code:
{*******************************************************************************
function LoggedIn: Boolean;
By: WT-Fakawi
Description: Returns True if Logged In.
*******************************************************************************}
function LoggedIn: Boolean;
begin
Result := (GetColor(439, 491) = 16777215);
end;
although they are all usefull and are used plenty they are rather simple, no?