
Let me just tell You that I have no idea about this stuff at all, still figuring this out, I started few hours ago because I need to do something specific in a Star Wars D6 character sheet I'm currently working on and I can't achieve with just plain HTML. I've seen that we can't use JS in sheets due to security reasons but then again we can use worker scripts and I have no idea what these are? What's the difference? Same goes with API. Anyway after hours of struggling I did this: <a href="https://www.w3schools.com/code/tryit.asp?filename=" rel="nofollow">https://www.w3schools.com/code/tryit.asp?filename=</a>... And I guess it's not working because it's all JS but seeing how does that work You may have an idea of what I'm going for. So... how would You do it so it would work on roll20? Edit: As for why I went with JS anyway: " Sheet Worker Scripts are an advanced feature of the Character Sheets system which allows the sheet author to specify JavaScript which will execute during certain events, such as whenever the values on a sheet are modified ." It's just very confusing for me.