You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
Then just apply the if logic to the second command.
Scoreboard-Test-Commands for all comparison operators:
<= -> * 0 < -> * -1 >= -> 0 * > -> 1 * == -> 0 0 != use the == logic and invert the condition. (if: a b != c d becomes not if: a b == c d and vice versa)
The text was updated successfully, but these errors were encountered:
BrainStone
changed the title
Simple comparison of scores for if and upcoming loops
Simple comparison of scores for if and loops
May 4, 2016
Having simple comaprisons in conditions would be amazing!
Something like this:
if: selector1 score1 <= selector2 score2
would become
Then just apply the if logic to the second command.
Scoreboard-Test-Commands for all comparison operators:
<=
->* 0
<
->* -1
>=
->0 *
>
->1 *
==
->0 0
!=
use the==
logic and invert the condition. (if: a b != c d
becomesnot if: a b == c d
and vice versa)The text was updated successfully, but these errors were encountered: