PringlesLooper/MobiusScripts/Play-Mute-TR2.mos

64 lines
642 B
Plaintext

Track 2
if mode = play
Mute
message Muted
else if mode = mute
Variable track1Playing
Variable track2Playing
Variable track3Playing
for 1
if mode == play
set track1Playing true
endif
next
for 2
if mode == play
set track2Playing true
endif
next
for 3
if mode == play
set track3Playing true
endif
next
# now we've gathered what we need to decide
if track1Playing || track2Playing || track3Playing
message track is playing
Play
else
message start point
Play
Move LoopFrames 0
Track1
Move LoopFrames 0
Track3
Move LoopFrames 0
Track2
endif
endif
endif
endif
endif
endif