The first two functions are obvious as to what they do
xProgramRunning
xStartProgram
xAddToCloseList
This will close the specified program when Morrowind is shutdown
The bonus of these functions is that it allows people to write custom programs for Morrowind that can be easily intergrated into mods.
E.G. Fliggs and my real time updating mod would go well with these functions because then the user wouldn't have to start the external program, it could be done within the script.
The drawback is that you could write a mod that would do a huge amount of harm, without the users knowledge. (The user wouldn't notice the exe starting)
It may require some though as to how to get around this problem. Maybe requiring the user to "allow" a certain program to run. This could be done through the GUI.
It would be fairly easy to get the list of programs that need to be allowed/disallowed if you required all programs to be in a certain folder relative to the Morrowind installation.
Logged In: YES
user_id=1784528
Originator: YES
Maybe I should have put
xIsProgramRunning
rather than
xProgramRunning
it makes it a bit more obvious