Last modified on 16 June 2012, at 17:55 is an event.

This routine is called when the script app is saved to the document or copied to the clipboard.
The script should return a table of whatever data it needs to properly restore when the on.restore event handler is called.

This has been introduced in TI-Nspire OS 3.0 (Changes).