If you want to include SRL just put
Right below the program name. Then it won't be a unknown idenififer.
Edit: Burrito you nubsauce you edited it 
Also, you spaced your stuff wrong. You also forget an until
SCAR Code:
program include;
{.include SRL/SRL.scar}
procedure type;
begin
typesend ('message here');
wait(1000);
begin
repeat
send;
until(false);
end.
You might want to make an autotalker like this.
SCAR Code:
Program AutoTalker;
{.include SRL/SRL.scar}
{ Fill in the Consts with what you want to type.
Fill in the StopKeyz with what key you want to use to stop.
F2 says msg1, F3 says msg2, F4 says msg3, F5 says msg4, F6 says msg5. }
Const
Msg1 = '';
Msg2 = '';
Msg3 = '';
Msg4 = '';
Msg5 = '';
StopKey = 8;
Begin
Repeat
If IsFKeyDown(2) then
TypeSend(Msg1);
Wait(400 + random(250));
If IsFKeyDown(3) then
TypeSend(Msg2);
Wait(400 + random(250));
If IsFKeyDown(4) then
TypeSend(Msg3);
Wait(400 + random(250));
If IsFKeyDown(5) then
TypeSend(Msg4);
Wait(400 + random(250));
If IsFKeyDown(6) then
TypeSend(Msg5);
Wait(400 + random(250));
Until(IsFKeyDown(StopKey));
End.