First off, there is no known source code for the old script editor so nothing will be done with that unless it is found.
I started looking into how the game loads scripts and found that the game also contains the code to save scripts.
I was able to make the game save an existing script to a new file, and then use that file in place of the original.
I will be digging into the script code this weekend to see how hard it would be to convert the scripts to xml.
If I can, I may try to remake the script editor from scratch, but probably not.