Okay. I've gotten voice attack to work just fine with MWO. It's easy enough to bind the N key to (Nightvision;Nightvision on;nightvision off) to toggle it on and off. Same with Thermal using the H Key. As you see I have to repeat or add words to that keybind to toggle it on and off, which still, does work fine.
BUT. I'd like to have separate sayings and for the program to know if thermal\nightvision is on or off, and if it's on and you say "Nightvision on" it will tell you it's already on, whereas "Nightvision" off would turn it off if it was already on. Mainly. I want to add a command Normal Vision Mode to restore normal vision mode if it's in either thermal or nightvision.
I copied an integer setup from someone who used it on Elite dangerous and tweaked it for MWO. If I say "toggle Nightvision", it will toggle on and off. But saying "Nightvision on" shows up as a recognized successful command but does not turn on nightvision, neither does saying "nightvision off". So I believe that my keybinding and toggle is setup correctly but the seperate commands for "Nightvision on" and "Nightvision off" have no effect. This could be that the software can't see if it's on or off. I'm not sure and so I'm just looking to see if what is wrong in what way or voice-attack simply can't see if nightvision/thermal is on or off making the the code I used useless.
So here it is: Nightvision;Nightvision on; - Supposed to Turn night vision on. Doesn't work.
Nightvision off; - Supposed to turn night vision off. Doesn't work.
Toggle Nightvision - Does turn it on an off