
Hi folks, I'm trying to, if possible, have any editing of the many characters' bio entry in the journal unwittingly (or deliberately! LOL) by players be reversed by the on change event. I'm able to do it for the character name: on("change:character:name", function(obj, prev) { // check if the changed object has a record let newname = obj.get("name"); let oldname = prev["name"]; if (newname !== oldname) { //sendChat ("", newname + "<br>" + oldname) obj.set("name", oldname); } }); Of course, the above can't be done for bio; when I used "bio" instead of "name", I got the following error: "Error: You must pass a callback function to .get() when getting the bio, notes, defaulttoken, or gmnotes of a Character or Handout." Which was expected, of course, led me to the help at: <a href="https://roll20.zendesk.com/hc/en-us/articles/360037772793#API:Objects-UsingtheNotes,GMNotes,andBiofieldsAsynchronous" rel="nofollow">https://roll20.zendesk.com/hc/en-us/articles/360037772793#API:Objects-UsingtheNotes,GMNotes,andBiofieldsAsynchronous</a> My biggest experience with callback functions is function(msg) on sendChat, which I use an awful lot. Is there anyway I can use the obj and prev arguments of the change events? Thanks in advance for any guidance here. -- Tim