hey. so a friend asked me for a code that would close another process (kernel32.dll -> terminateprocess) when the script is closed or killed from task manager (not taskkill /f cos lmao can we peacefully terminate threads please) you can hook to do something different whatsoever. i just felt like sharing in case anyone wants to hook with autoit which is certainly quite hideous anyways feel free to edit cyaa
why did i even bother
why did i even bother