I'm making a map type thing where you have to get through challenges to win a prize. The problem is that I need to spawn a command block stack, I know who to spawn a command block with a command but I also need to change it so that the command block is set to chain and always active. This is the current command I'm using,
/setblock -585.601 68.00000 -471.700 command_block 0 replace {Command:"/playsound block.piston.extend voice @p"}