I am looking for the command to change the data in a written book that is in a chest, changing what is written on the page/s. I am trying to build a randomizer that will change a single-digit entry on each page, giving you a book with a random set of characters each time it is summoned. Any help would be greatly appreciated.
Current target/command that is working
/data modify block -183 64 201 Items[0].tag merge value {pages:['{"text":"1"}','{"text":"7"}','{"text":"1"}']}
What I still need is a way to only edit the data on a single page without changing the data on any of the other pages.
Edit.
I have gone through the linked question and it does not illustrate how to do what I am trying to do.