As suggested by Terry there (viewtopic.php?t=3261), this is the first time I've tried using MIDI to control events in MMV.
Man, it's SO much easier to just hit a MIDI-keyboard while listening to a song than to implement an endless if-then-else statement based on the current playing time.
Thanks Terry!
Link: https://www.youtube.com/watch?v=L9eLt4oy7tw
.