You really need to read the Scripting Documentation instead of being baby fed some of the most simplest things which can be done in/with scripts. If you can't find the scripting documentation, it is found here:
http://www.msgpluslive.net/scripts/view/13-Official-Scripting-Documentation/
It is extremely easy to edit your code using an external editor.
EDIT: I'll give you a tip, you just open the script file(s) with the editor of your choice.