This is no longer valid, thanks to Steven Verberne.
I was building a redstone contraption and I had a command with the command gamemode @a[score_deaths_min=1] sp but it didn't work and in the "previous output" section it said @a wasn't a valid number. I already set up a deaths scoreboard objective that had the criteria deathCount. Below is a screenshot of the command block.
2014-03-29, 03:56 PM
2014-03-29, 05:32 PM
2014-03-29, 05:32 PM
0
1
-