2 Part Question:
Firstly, I'm trying to make a random death message system and I need some help with some things...
Here is the steps of my logic:
- function which starts the game initiates the function deathmsg_toggleon
- deathmsg_toggleon sets a scoreboard to 1 and triggers function deathmsg_if
- deathmsg_if checks if the scoreboard is 1 and if so triggers the function deathmsg_randomiser
- deathmsg_randomiser icba to explain but i've attached all the files below
basically I want to know if what I'm going for will work I will also put deathmsg_if in tick.json and setup the scoreboard to check for deaths
the second question is how do I use player names in the context of deathmsg_randomiser replacing where I ve put "player"