This is a little scriptlet I wrote for characters who have special abilities that are determined by how much light they are in. Drow have sunlight sensitivity, which imposes disadvantage on certain rolls while in bright light. Gloom Stalker characters can become invisible invisible to any creature that relies on darkvision to see them while they are in darkness. The Shadow Blade spell grants advantage to attack a target that is in dim light or darkness. These examples are all from D&D 5e, but this should work for any game. The problem is, it's not always easy to tell if the illumination they have is bright light, dim light, or darkness. This becomes even harder if the character has darkvision, since their personal view will artificially change how they perceive their light. This scriptlet appends a tag to the end of the token's name plate that shows if they are standing in bright light, dim light, or darkness. It will updated automatically whenever the token moves. To activate it on any token, make sure that dynamic lighting is turned on, and that you are on the page with the player flag. Change the name of the token by adding a space and a double asterisk to the end. "Gloomstalker" becomes "Gloomstalker **". Then, whenever you move the token, the tag will update automatically. To stop the script from acting on that token, just edit the token name to remove the tag at the end. This video will demonstrate. To function, this script requires that you have already installed the checkLightLevel script by Oosh (thanks for doing the heavy lifting, Oosh!) . This script is available in OneClick on your game's mods page. The code is in a gist, because it uses a few emojis, and the forum does not play nice with those. [ Code Link ] You can edit these lines if you find my choices of cutoff not to your liking. These seemed to match what I was seeing on screen, but YMMV. The values are expressed a integers from 0 to 100: let dimLight = 50; let darkness = 20; If no one finds any horrible bug with it, I'll put it up on One Click in a week or two.