I've been messing around with command blocks recently, and I need to be able to 'log' my command block output.
I can see the last output it had
'Gave 1 diamond to JackOBoi04' (example)
but I am trying to find a way to take said output, and log it in a book, or something like so even when I'm offline, when I come back online I can look back at the list of said command block's output, from when I was offline.