If it fails to compile, the script is not saved. You'll be asked if you want to save/recompile.
changed variables in another script) you'll be asked if you want to save the changes. If you changed the current script, or the current scripts needs to be recompiled for some other reason (e.g. Next Script: Switches to the next script in alphabetical order.Open: Presents a list of existing scripts.This setting determines which objects in the editor the script can be attached to. Script Type: Can be Object, Quest, or Magic effect. The script editor is a basic text editor for writing and editing your scripts.