I think I might be able to help ya... 
So, your script is like this:
SCAR Code:
program BaseJump;
var x,y: integer;
begin
repeat
if FindColorTolerance(x,y,10719614,120,230,160,270,1) then
wait(100);
sendkeys(' ');
until (x = - 1)
writeln('escaped');
end.
Now, I would first set this thing up differently:
SCAR Code:
Prgramm BaseJump;
var
x,y: integer;
const
GoColor = 10719614 {named the color, easier to use}
begin
repeat
wait(100)
Until FindColorTolerance(x,y,10719614,120,230,160,270,1)
{So the programm will wait until it finds the color}
{Now, the Color was found, now it will press the space bar and write}
SendKeys(' ')
writeln('escaped')
end.
Now, do you see what I did here? I gave the color a name, so we don't have to put in all the numbers every time we use the color, even if it's only once (makes it look neater). Once it has found the color, it will immeadantly send the spacebar key, and write in the debug box "escaped".
Alright, now, the Sendkeys(' ') is not a very good way to press the spacebar key, so let's use a proper srl function, but for that you will need to include: {.include srl/srl.scar}
It will look like this:
SCAR Code:
Prgramm BaseJump;
{.include srl/srl.scar} // This is very important, otherise you'll get some errors
var
x,y: integer;
const
GoColor = 10719614
begin
repeat
wait(100)
Until FindColorTolerance(x,y,10719614,120,230,160,270,1)
KeyDown(32); // The better and more "proper" function
writeln('escaped')
end.
Now you can also add on to that with the "wait" function or another loop like the one I created with finding color.
Good Luck with your future Scripting,
ToteRache