That means I only need to import Script.galaxy after I'm done coding (in Notepad++), and everything will work. Which calls initScript() from my own script file. Yeah, you should never open the trigger editor, as that tends to reset MapScript.galaxy I just use the following MapScript.galaxy file: