Minecraft wiki entry for Command_blocks_and_functions, associated text: The Command block 3 is the output in case of success. You can do whatever you want: give an effect to the player, teleport him somewhere,... You can also wire this output to a door, a piston,...