To save your script, either press Ctrl-S or File-Save (or Save As...), just like you would in a text editor. It generates the script automatically.
EDIT: Apparently I am remaking the post soon. Thanks, HTML editor.
Sorry, this hasn't been in serious development for over half a year. I don't even remember much of the language I wrote it in.
Maybe you could let me dev it a bit.
Im not bad at coding after all.
Just a bit, ehh, not really that effort using.