Is it possible to call scoreboard with the player being the input of a macro?
I want to update the scoreboard for an offline player, which I'm currently saving the name of in data storage, but it seems like just passing the string as an argument doesn't work.
[30m# Increase tick count
[37m$[35mscoreboard [34mplayers add $[33m([0mholder[33m) [0mfk_findersKeepersTicks [32m1
[30m# Set scoreboard to `ticks / fk_ticks_in_a_day`
[37m$[35mscoreboard [34mplayers operation $[33m([0mholder[33m) [0mfk_findersKeepersDays [34m= $[33m([0mholder[33m) [0mfk_findersKeepersTicks
[37m$[35mscoreboard [34mplayers operation $[33m([0mholder[33m) [0mfk_findersKeepersDays /[34m= [0mfk_ticksInADay fk_constant
execute run function finders_keepers:update_score with storage finders_keepers:data holder
I'm trying to write a pack that adds the minecraft days to the scoreboard of the player that last ran my trigger to keep track of who's in possession of something for the longest.