How do I make something permanent that will stay after replaying the game?

As fairygodfather said, you could do this by using the check achievements command. Simply add an achievement for finishing the game and check for it upon starting a new one.

6 Likes