Adblock breaks this site

Commands On Stop

Discussion in 'Scar/Simba Help' started by beesafree, Apr 24, 2010.

  1. beesafree

    beesafree Newcomer

    Joined:
    Apr 24, 2010
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0
    Commands On Stop

    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
     
  2. beesafree

    beesafree Newcomer

    Joined:
    Apr 24, 2010
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0
    Commands On Stop

    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
     
< Help please | need help with scar >


 
 
Adblock breaks this site