Quote:

Don't mean to ask a stupid question, but what is this doing?

Code:
 
if $guarddog guarddog($guarddog) exit endif






the script has 2 modes....

the first mode will launch notepad.exe identify nopepads's PID and then the script calles it self again so it can run in the 2nd mode.

the 2nd moce is passed a variable $garddog=<kix pid>,<notepad pid>

when in guarddog mode, this 2nd script watches the original kix PID and when this PID is no longer running, it terminats the notepad PID.

.... confused yet