• Log in or sign up for an account here: https://www.sythe.org/login

Commands On Stop

beesafree

Newcomer
Joined
Apr 24, 2010
Sythe Gold
0
Messages
5
is there a way to make a few lines of commands execute when the stop button is pressed or better yet, Ctrl + Alt + S is pressed?

thanks for any help
i am making a farmville auto raspberry farmer
if anyone wants it, i will be glad to give it to you, it is pretty much done
 
figured it out
in case this is searched for in the future - the answer is this procedure:

procedure ScriptTerminate;
begin
//your lines of code
end;

once anything terminates the program (the stop button or CTRL + ALT + S) is pressed it will do those lines of code before ending
 
Runescape Gamblingrunescape gambling
Back
Top