It closes immediately because the .ahk hasn't been properly coded to loop and instead, when it reaches the end, it says to itself, "Uh oh, no more code so I'll just close now".
Anyway, fixed the code for you, please update the attachment Maniac!
I also added #SingleInstance force so there can only be one instance of the script otherwise you will get lag/computer issues if someone opened mutiple instances.
um idk what the big problem is it runs none stop for me never shuts down and im using the same 1 i posted except with a diff time interval and it nver shuts down for me. and ahk shouldnt let you open a new instance of it anyhow without closing the old one idk what you have diff about your ahk but mine never has issues like that
ok so sense i see so many ppl are having problems im going to post a screen shot tut for it tonight
EDIT: ok so now i see what everyone it talking about your all talking about the exe version thats why i have no clue why its going wrong i never use the exe LOL if you have ahk installed just run the script other wise ill upload a fix later tonight