/testfor with fake player name
Testfor command for commands blocks doesn't work fine for non-player scores. As we can set scores for non-player, I assume we also can test non-player score as well.
For this test, I simply put a button on a command block, with a comparator out and a redstone lamp
/scoreboard objectives add testObj dummy
/scoreboard players set MyCharacterName testObj 10
/scoreboard players set FakeName testObj 10
/scoreboard objectives setdisplay sidebar testObj
>> OK
/testfor @a[name=MyCharacterName,score_testObj_min=5]
>> OK
/testfor @a[name=FakeName,score_testObj_min=5]
>> NOK
2013-06-12, 12:15 AM
2013-12-09, 02:11 AM
2013-06-14, 02:15 PM
0
1
-