StevenOfPomroyIL 0 Posted February 7, 2011 Hi I'd like to build in a feature into my program that kills the program after 30 minutes from the time it was launched. Other than running a parallel script that will use a timer and kill the first script after 30 min passes, how could I do that from within a single script? In other words, how do you get a script to kill itself after 30 minutes ellapses? Sorry in advanced if the easiness of this issue offends you. Best, Jon Share this post Link to post Share on other sites
jvanegmond 306 Posted February 7, 2011 Something like this: AdlibRegister("Suicide", 30*60*1000) While 1 Sleep(100) ; Your program here WEnd Func Suicide() ; Goodbye cruel world Exit EndFunc github.com/jvanegmond Share this post Link to post Share on other sites
StevenOfPomroyIL 0 Posted February 7, 2011 Genius. Event Handlers. Share this post Link to post Share on other sites