Sometimes, when you have tried things out in the console, you will like to keep a file trace of what you have experimented with, perhaps to save portions of it later in a source file. This can be done with the following simple console command:
save %history system/console/history
Here, history is just the file you want to store them in (this could be any other name).
From Version 0.6.4 onward, the history command is preserved between sessions, but if you would like to start a session with an older file with commands, you can retrieve the history like this:
system/console/history: load %history