You forget an end 
SCAR Code:
begin
SetupSRL;
if (FindRS) then
begin
ActivateClient;
Writeln('Runescape Found');
end else
begin
Writeln('Runescape Not Found, Terminating Script');
TerminateScript;
end;
end. //end here =]
then how to implement the function into your script:
First put the function before your main loop.
SCAR Code:
//put it above
Function FindFastRandoms: Boolean; // By WT-Fakawi.
var
i: Integer;
begin
for i:=1 to 12 do
begin
case I of
1: If FindDead
begin
SetupSRL;
if (FindRS) then
begin
ActivateClient;
Writeln('Runescape Found');
end else
begin
Writeln('Runescape Not Found, Terminating Script');
TerminateScript;
end;
//then you can now use it down here..
if FindFastRandoms then DOTHIS;
end.
(I think this is what you're asking.. sorry if not
)