A neat way to do something after someone stops the program... This will be especially useful for cloud-based things like my account thing or online multiplayer stuffs... or whatever. NOTE: also works with whenever the [stop [all]] block is used! Try it by pressing "s"! Click the flag, then the stop button whenever you're ready. See inside to see how it works; It's incredibly simple -- only 1 sprite with 13 script blocks (+6 for the stage but these aren't necessary for the project to operate. Come to think of it, the "action completed?" variable really doesn't need to be there either so technically it only needs 11 blocks; 7 if "timer" variable and "hide" block are unused)
I used similar techniques to my unstoppable program https://scratch.mit.edu/projects/26158154/ NOTE: if it thinks you pressed stop right as you click the flag, see inside and I give you instructions on what to do if this happens