Juno: New Origins is an awesome simulator where you can build rockets and planes, and fly them pretty much everywhere. But also write programs (scripts) to automate them. There isn't a unfied platform to share them though, so here we are.
A few programs I built:
Launches any rocket and reaches any desired orbit in space. (link to download to Juno)
Automatically lands a spacecraft or booster, on bodies with or without atmosphere. (link to download to Juno)