how to stop a script after it has started???

hi. im working on my first project and in the script i have some conditions that have to be met in a certain time. if the certain time runs up and you dont get the job done you are punished... i have this written and is working but im having trouble stopping the script if the conditions are met.

ok so its easy to execute a script with this command execVM " ";

but what do i write if i wont to stop a certain script????
 
the script has a timer on it for 3 minutes and in that time you are required to do something to stop the script... how do i stop it??
 
Back
Top