This should be a fairly simple script from what I can tell, but me having zero experience in JS means I'll be bashing my head against the wall for the foreseeable future as I try random keypresses, hoping they'll turn into legible code. I have 2 text fields on my character sheet, one with the attribute GlobalModifier and another with the attribute GlobalMultiplier. I want a script that when ANY "roll" button is pressed, the value of these two attributes is reset to a certain value (GlobalModifier: 0, GlobalMultiplier: 1). I need this as part of my macro. Currently I'm using the regular pop-up boxes which ask players to input a modifier/multiplier to their roll, but this is starting to get a bit irritating, so I figured having a text box on the character sheet where the players can enter any modifiers/multipliers to their next roll would be less obtrusive. I just want to make sure that the text fields reset back to their default values after the macro is executed so that the players don't accidentally roll something with an incorrect modifier if they forget to delete it (I figure having this happen after a roll button is clicked would be easiest rather than checking for rolls etc, but I may be wrong). Could someone help me out with this script? If you need any other info about the character sheet etc, let me know. Appreciate any help!