I don't quite understand, if you've decided to edit the movies instead, why you'd want to change the scripts?
The PlayVMD function is rather complicated, it has 32 subfunctions.
And if you want to use the ShowMovie call, be aware that it is not included in all interpreters.