“cmd.mdo” defines (or redefines) the command-line operations associated with a particular movie frame. These “generalized movie commands” will be executed every time the numbered frame is played.
cmd.mdo( int frame, string command )
def mdo(frame,command):