Script resources are the core of the game and control everything that your game does. Script resources use their own machine-indepentant language, and can be run on absolutely any system if an interpreter is written for it.
As of this writing, there is no complete SCI decompiler, so you can not actually edit existing games. You can only create them. To create scripts you can use the script editor.