Ok so I want to make a minigame map. One of the minigames is destroy spawners. So i'm wondering if i can make a system that detects destroyed blocks (in this case: spawners) to test if a player win or not.
You could do it by doing
/testforblock x y z mob_spawner
You could change x y z to the location of the spawner, it will output redstone if it is there. Then make it detect it if the redstone gets unpowered.
You could also just do
/testforblock x y z air
Which would detect if it's air. So you could detect it if it outputs redstone (use a comparator).