Commands On Stop

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

Commands On Stop
  1. Unread #1 - Apr 24, 2010 at 1:10 AM
  2. beesafree
    Joined:
    Apr 24, 2010
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    beesafree Newcomer

    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
     
  3. Unread #2 - Apr 28, 2010 at 6:14 PM
  4. beesafree
    Joined:
    Apr 24, 2010
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    beesafree Newcomer

    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 >

Users viewing this thread
1 guest


 
 
Adblock breaks this site