Yep, you can run other scripts by using either require() or dofile(). They work almost exactly the same. So if you have lots of functions for your program in a seperate file, put this near the top of the main program file:
require( "functions.lua" )
or
dofile( "functions.lua" )
The difference has something to do with require() looking in other directories for the file you have, and is supposed to be used for libraries. But both will work.
For saving, just use the basic file input/output functions here:
http://www.lua.org/pil/21.1.html . If you need help with them just post.
