#Mode 1 execute if score @s RAN.CoordMode matches 0 run tellraw @s ["",{"text":"\nCoordinates Control Panel:\n","color":"gold","bold":"true"},{"text":"Select Mode: ","color":"aqua"},{"text":"< # # # | DIR >","underlined":"true"},{"text":" | ","color":"aqua"},{"text":"# # # | ROT","clickEvent":{"action":"run_command","value":"/trigger Coordinates set 201"}},{"text":" | ","color":"aqua"},{"text":"X:# Y:# Z:# | ROT","clickEvent":{"action":"run_command","value":"/trigger Coordinates set 202"}},{"text":"\n\n[Back]","color":"red","clickEvent":{"action":"run_command","value":"/trigger Coordinates set 1"}}] #Mode 2 execute if score @s RAN.CoordMode matches 1 run tellraw @s ["",{"text":"\nCoordinates Control Panel:\n","color":"gold","bold":"true"},{"text":"Select Mode: ","color":"aqua"},{"text":"< # # # | DIR >","clickEvent":{"action":"run_command","value":"/trigger Coordinates set 200"}},{"text":" | ","color":"aqua"},{"text":"# # # | ROT","underlined":"true"},{"text":" | ","color":"aqua"},{"text":"X:# Y:# Z:# | ROT","clickEvent":{"action":"run_command","value":"/trigger Coordinates set 202"}},{"text":"\n\n[Back]","color":"red","clickEvent":{"action":"run_command","value":"/trigger Coordinates set 1"}}] #Mode 3 execute if score @s RAN.CoordMode matches 2 run tellraw @s ["",{"text":"\nCoordinates Control Panel:\n","color":"gold","bold":"true"},{"text":"Select Mode: ","color":"aqua"},{"text":"< # # # | DIR >","clickEvent":{"action":"run_command","value":"/trigger Coordinates set 200"}},{"text":" | ","color":"aqua"},{"text":"# # # | ROT","clickEvent":{"action":"run_command","value":"/trigger Coordinates set 201"}},{"text":" | ","color":"aqua"},{"text":"X:# Y:# Z:# | ROT","underlined":"true"},{"text":"\n\n[Back]","color":"red","clickEvent":{"action":"run_command","value":"/trigger Coordinates set 1"}}] scoreboard players set @s Coordinates 0