The fault lays not in the program, but in the one who programs it. If it didnt work like it should work, there probably was a commandblock wrong somewhereToo complicated for me.
I played a tournament of different games with some guys on an 1.8 server before and literally nothing worked like it should. :/