
Update 0.8.10 -- Changed Flickers to respect the rotation of their parent. (Thanks Samuel T.)
Update 0.8.5 -- Moved Flickers to the Dynamic Lighting layer so they don't interfere with selections. (Thanks vorgrist!)
Update v.7 -- Added Flicker Light support, ala Jack Taylor's marvelously clever Flickering Lights Script. Thanks Jack!
New Commands:
Update v.61 -- Removed direct use of HTML entities to prevent the substitution bug.
Update v.6 -- Several updates in this version:

Update v.5 -- Fixed bug in v.4 which caused the 3rd parameter to not be used, and the default to be players can't see the light. (Thanks Leo!)
Update v.4 -- Added a 3rd parameter to !torch to allow setting whether other players see light.
Update v.3 -- Added feedback about which page is being changed for !daytime and !nighttime, added taking the pageid form a selected token by default, and falling back to the player's current page.
This is a script I wrote a while ago, but never made a post specifically for. I've updated it with some recent related feature requests.
!torch [bright radius] [dim radius] [other players] [token id ...]-- For the selected/supplied tokens, it causes them to emit light. By default, the light is 40 bright, dim for half, but you can specify one or both. Sets other players see light to true by default, false if other players is not one of 1, on, yes, true, sure, yup, -.
!snuff [token id ...] -- Removes the light from selected/supplied tokens.
!daytime [token id] -- (GM Only) Turns off the dynamic lighting for the player's page (note that as a GM, you may not be on that page). Selecting a token or supplying a token ID will cause it to adjust the lighting for the page of the selected/supplied token.
!nighttime [token id] -- (GM Only) Turns on the dynamic lighting for the player's page (note that as a GM, you may not be on that page).Selecting a token or supplying a token ID will cause it to adjust the lighting for the page of the selected/supplied token.
Sorry.. no pretty help page for this yet.
Git: https://github.com/shdwjk/Roll20API/blob/master/To...
Update 0.8.5 -- Moved Flickers to the Dynamic Lighting layer so they don't interfere with selections. (Thanks vorgrist!)
Update v.7 -- Added Flicker Light support, ala Jack Taylor's marvelously clever Flickering Lights Script. Thanks Jack!
New Commands:
- !flicker-on -- Just like !torch, with all the same options. Creates a flickering light that stays with the token. This effectively allows players to carry a flickering torch, as movement is not restricted. This also allows lights set by !torch, if for example you want your players to carry a torch but also have darkvision.
- !flicker-off -- Just like !snuff, with all the same options. Removes a flickering light from the selected and/or supplied tokens.
Update v.61 -- Removed direct use of HTML entities to prevent the substitution bug.
Update v.6 -- Several updates in this version:
- Added supplying of Token IDs on the command line via @{target|token_id}. You can specify as many as you like, and duplicates are ignored (incase you want to have a macro that takes a bunch and then just click them all off on a couple people).
- Fixed parsing of !torch arguments that are not numbers, now they will default to the default values instead of crashing the script.
- Added '-' as an 'on' parameter for Players see Light. This means you can supply '-' as a default for all arguments to !torch if you just want to supply Token IDs
- Added a help screen. You can access it by supplying 'help' as the first argument to any of the commands, as well as by calling !torch or !snuff with nothing selected and no Token IDs as arguments.

Update v.5 -- Fixed bug in v.4 which caused the 3rd parameter to not be used, and the default to be players can't see the light. (Thanks Leo!)
Update v.4 -- Added a 3rd parameter to !torch to allow setting whether other players see light.
Update v.3 -- Added feedback about which page is being changed for !daytime and !nighttime, added taking the pageid form a selected token by default, and falling back to the player's current page.
This is a script I wrote a while ago, but never made a post specifically for. I've updated it with some recent related feature requests.
!torch [bright radius] [dim radius] [other players] [token id ...]-- For the selected/supplied tokens, it causes them to emit light. By default, the light is 40 bright, dim for half, but you can specify one or both. Sets other players see light to true by default, false if other players is not one of 1, on, yes, true, sure, yup, -.
!snuff [token id ...] -- Removes the light from selected/supplied tokens.
!daytime [token id] -- (GM Only) Turns off the dynamic lighting for the player's page (note that as a GM, you may not be on that page). Selecting a token or supplying a token ID will cause it to adjust the lighting for the page of the selected/supplied token.
!nighttime [token id] -- (GM Only) Turns on the dynamic lighting for the player's page (note that as a GM, you may not be on that page).Selecting a token or supplying a token ID will cause it to adjust the lighting for the page of the selected/supplied token.
Sorry.. no pretty help page for this yet.
Git: https://github.com/shdwjk/Roll20API/blob/master/To...
If you use my scripts, want to contribute, and have the spare bucks to do so, go right ahead. However, please don't feel like you must contribute just to use them! I'd much rather have happy Roll20 users armed with my scripts than people not using them out of some sense of shame. Use them and be happy, completely guilt-free!
Disclaimer: This Patreon campaign is not affiliated with Roll20; as such, contributions are voluntary and Roll20 cannot provide support or refunds for contributions.