So obviously this can't be done with scripts.
This is the best joke I have seen for long. Go into the scripts editor and delete the 7 Interpreter scripts. Then you will see how "powerful" your events are with no script to be execute them.
You DO realize, events are actually script commands, do you?
Also if you need this script badly, go into database and look for "Picture Movie Scene". If you really want to play .avis in your game, find the topic with the .avi player script. Just use the search button.