(Minecraft) How can you find out whether a player has more than (for example 30) points on a scoreboard?

sl
5

I only know how to query a certain number of points (/ kill @a [scores = {points = 30}]).

But how can I include all players who have more or less than 30 points?

an

With a. Before or after the number. Before: Less than. After that: More than.

/ kill @a [scores = {points = .30}]: All players with less than 30 points

/ kill @a [scores = {points = 30.}]: All players with more than 30 points

Pr

/ execute as @a if score @s points matches [l1] run kill @s

Instead of [l1] "matches .30" for everything under 30 and "matches 30." for anything over 30.

That's how I would do it. But often think more complicated than necessary

gl

I would confirm if it weren't for the confirmation limit xD

gl

There's also an easier way

an

Haha xD