Hey,
Good to see you are starting to script
Here is an example of what you could use for running:
SCAR Code:
<other script things here>
procedure SetRunning;
begin
if (IsFKeyDown(1)) then
begin
setrun(true);
wait(200+random(400));
writeln('We are now running!');
end;
end;
This checks if f1 is down.
If f1 is down, it will set run true and will wait a bit and write "We are now running!" in the debug.
Of course you will have to call this in your mainloop
If you need any other help, I am often online at pvh@live.nl (msn) and I'll be glad to help
PvH