Hey, i just dont get it
Its a bad exmaple for the keys being passed through i just added that as an after thought.
I hav emy lights command set up as a toggle
LightS Command
Begin CONDITION lights-status not set
Set lights-status to 1
execute keybind lights
say "lights on"
end condition and exit if condition met
Begin CONDITION
if lights-status equal to 1
Set lights-status to not set
execute keybind lights
say"lights off"
end condition and exit if condition met
now if i say "lights voice attack turns my lights on and says "Lights On"
then it set the lights-status to 1
without the do not allow key to be passed through unset
if i use the keyboard the lights will turn off, but voice attack command won't run as the keypress is being passed through to elite.
so next time i say "lights" it will turn on the lights but say "lights off" as the keypress we didn't set our lights-status to not set, and voive attack still thinks our lights are on.
if you have do not allow key to be passed through set, the voice attack will run the command attached to the key (lights) and process the variables and key presses in that command.
so by using the keyboard you will also get the "Lights on/off" feed back with VA