You need to declare x ad a variable before you can use it.
Should look something like this...
SCAR Code:
program script;
{.include SRL/SRL.scar}
const
message1='woot';// write here the message you want to say
color= ;
var
x,y : integer
procedure Talking;
begin
wait(2000)
Writeln(message1);
end;
procedure DoAntiRandoms;
begin
FindTalk;
FindNormalRandoms;
if (FindFight = true) then
begin
RunAwayDirection('N');
Wait(10000 + random(2000));
RunBack;
end;
end;
procedure RepeatClicking;
begin
repeat
if(FindColor(x,y,color,coords,coords,coords,coords))then
begin
MMouse(x,y,0,0);
wait(100+random(50));
Mouse(x,y,0,0,true);
wait(500+random(250));
end;
end;
begin
SetupSRL;
end.