I'm currently building an Adventure Map in Minecraft where I've also added certain music to a soundpack. I know how to play and stop such music using a command, but how can I set the music to run continuously until I introduce another command block that then stops the music?
I hope you understood what I meant, otherwise I can explain it again in more detail.
If you want to have your own song, you just make a soundpack with a mob file that then plays the song. The best is a song that goes very, very, very long because otherwise it goes out.
Then you take a command block and enter this command:
/ playsound minecraft:, Then the mob file ''
so when you activate the command block the sound comes.
/ stopsound would then be the command to stop the sound