Im trying to give a score of one to every squid once when it is spawned. So i want to do: /scoreboard players set @e[type=Squid,tag=block,score_count=0] count 1. The problem here is that the score of a mob isn't 0 but undefined when it is spawned, so I have another score called once. This score should have the same value as the count score, but at the beginning it should be 0. So i do: /scoreboard players set @e[type=Squid,tag=block,!score_once_min=1] once 0. Which should give every squid that does not have a score "once" of min 1 a score "once" of 0. But apparently that does not work
The NOT operator is a part of the value, not the key. It is only used with string-based parameters (
name
,team
,tag
,type
,m
).You can add 0 to force the target to be tracked on the scoreboard without changing its actual value: