I'm basically trying to modularise a profile.
One example is the new version of elite you can exit your ship and temporarily fly another ship. When you do this alot of commands change so I want those commands to switch off and new ones to come online. It works well switching to another profile. I know I could do it by putting a check in to every command so that if you are in the fighter then exit this command but it's a lot to add in on every command just to do that. Switching profiles essentially will alter what VA is then listening for.
Another example would be a profile to ask a question and wait for the correct reply. In a large profile I can't just ignore all the current commands as being an answer but if I switch profile then I can simply wait for the correct answer to be said. Essentially switching on and off commands which are being listened for.
If that makes sense
oh and the above example means closing and restarting VA. As it stands now the variables are carried through when switching profiles and switching profiles by stopping and restarting va would break that.