On multiplayer in Minecraft, I am trying to detect when a player changes their score using /trigger. Here's an example scenario:
I create a new objective called "test." Then, I use
/scoreboard players enable @a test, which lets everyone modify the objective.
After which, I have a /tellraw command used on all players giving them four options to click. Each option corresponds to a different score the player gives themselves. For example, clicking on "test one" would make the player run
/trigger test set 1, clicking on "test two" would make them run
/trigger test set 2, and so on.
How would I be able to detect when a player set their objective to a specific number score, such as 3?