• I do it like this:

    function onInit() {
     // Call to an function that kicks off my code

    My undertstanding is that onInit() fires automatically on startup/reset. I make save() the last line of code. I can't advise if this is the best way, but it does seem to work.


Avatar for Ollie @Ollie started