
I want to change my macro so that rather than having to enter separate queries for dim light and bright light ranges you just enter 1 value that is used in both operations. Currently my code is:
?{
Light/Vision options
|Normal vision,!token-mod --on has_bright_light_vision --off has_night_vision
|Blind,!token-mod --off has_bright_light_vision
|Darkvision,!token-mod --on has_night_vision --set night_vision_distance#?{Range}
|No Light,!token-mod --off emits_bright_light emits_low_light
|Bright Light,!token-mod --on emits_bright_light --set bright_light_distance#?{Range}
|Dim Light,!token-mod --on emits_low_light --set low_light_distance#?{Range}
}&{noerror}
Is there a way to reuse the 1 query input in both --sets for dim and bright light? Store in the query in a variable or something?