I have updated the macro to include toggles for common light sources and vision/darkvision. Trying to create an all-in-one light/vision macro. After you choose the appropriate light source you can then decide the colour. I haven't yet figured out the command to set the directionality of the light, but I would like to do that for the bullseye lantern. In addition to TokenMod, you must also add APILogic and libInline to your API script library for the macro to function. Thank you to timmaugh for the massive help with the coding. ?{ Light/Vision options: |Fireflies (dim5), !token-mod --set emits_bright_light#off emits_low_light#on bright_light_distance#0 low_light_distance#5 |Candle (br5/dim10), !token-mod --set emits_bright_light#on emits_low_light#on bright_light_distance#5 low_light_distance#5 |Dancing Lights (dim10), !token-mod --set emits_bright_light#off emits_low_light#on bright_light_distance#0 low_light_distance#10 |Lamp (br15/dim45), !token-mod --set emits_bright_light#on emits_low_light#on bright_light_distance#15 low_light_distance#30 |Lightsword (br15/dim30), !token-mod --set emits_bright_light#on emits_low_light#on bright_light_distance#15 low_light_distance#15 |Torch/Light Cantrip (br20/dim40), !token-mod --set emits_bright_light#on emits_low_light#on bright_light_distance#20 low_light_distance#20 |Hooded Lantern (br30/dim60), !token-mod --set emits_bright_light#on emits_low_light#on bright_light_distance#30 low_light_distance#30 |Bullseye Lantern (br40/dim80), !token-mod --set emits_bright_light#on emits_low_light#on bright_light_distance#40 low_light_distance#40 |Create Bonfire (br40/dim80), !token-mod --set emits_bright_light#on emits_low_light#on bright_light_distance#40 low_light_distance#40 |Lighting off, !token-mod --set emits_bright_light#off emits_low_light#off bright_light_distance#0 low_light_distance#0 |Normal vision, !token-mod --on has_bright_light_vision emits_bright_light emits_low_light --set bright_light_distance#0 low_light_distance#0 |Darkvision on, !token-mod --set has_bright_light_vision#on has_night_vision#on night_vision_distance#60 night_vision_effect#nocturnal |Superior Darkvision on, !token-mod --set has_bright_light_vision#on has_night_vision#on night_vision_distance#120 night_vision_effect#nocturnal |Darkvision off, !token-mod --set has_bright_light_vision#on has_night_vision#off |Blinded, !token-mod --set has_bright_light_vision#off has_night_vision#off defaulttoken } !{&if
None = ?{Select
Colour?|None|Aqua,00ffff|Aquamarine,7fffd4|Black,000000|Blue,0000ff|Coral,ff7f50|Cornflowerblue,6495ed|Crimson,dc143c|Darkcyan,008b8b|Darkgreen,006400|Darkseagreen,8fbc8f|Deeppink,ff1493|Firebrick,b22222|Fuchsia,9900ff|Gold,ffd700|Goldenrod,daa520|Gray,808080|Green,008000|Lavender,e6e6fa|Lime,00ff00|Maroon,800000|Navy,000080|Olive,808000|Orange,ffa500|Orangered,ff4500|Pink,ffc0cb|Purple,800080|Rebeccapurple,663399|Red,ff0000|Saddlebrown,8b4513|Salmon,fa8072|Seagreen,2e8b57|Silver,c0c0c0|Skyblue,87ceeb|Snow,fffafa|Teal,008080|Transparent,transparent|Violet,ee82ee|Wheat,f5deb3|White,ffffff|Whitesmoke,f5f5f5|Yellow,ffff00}}
{&else}token-mod --set lightColor#?{Select Colour?}{&end}