In my minecraft map, I have a scoreboard, mainvars, that I made by running
/scoreboard objectives add mainvars dummy,
that has 1 player called var I made by running
/scoreboard add players var mainvars 5.
I tried to test if var = 5 with
/testfor var[score_mainvars=5], but it doesn't work.
/testfor @p[score_mainvars=5] works? I'm confused.