Here are a few sample commands (and their results) for reference:
example 1: "/" indicating an "optional" to create a phrase
current commands:
start, start up
new command:
start /up
in this first example;
- the word "start" would trigger the command
- the phrase "start up" would also trigger the command
example 2: "/" indicating further "optionals" creating separate phrases
current commands:
power, power up, power on
new command:
power /up /on
in this second example;
- the word "power" would trigger the command
- the phrase "power up" would also trigger the command
- the phrase "power on" would also trigger the command
example 3:
current commands:
power up, power on
new command:
power up/on
in this second example;
- the phrase "power up" would also trigger the command
- the phrase "power on" would also trigger the command
example 4: "/" as a phrase optional
current commands:
power up the system, power on the system
new command:
power up/on/ the system
- the phrase "power up the system" would trigger
- the phrase "power on the system" would trigger
- because there is no preceding /, one of the optionals is required to trigger
- the trailing / is to indicate where the optional ends and the finishing phrase begins
more example phrases for all usage scenarios:
tell me/us/ about the research - tell me about the research, tell us about the research
that's interesting/terrific - that's interesting, that's terrific
no /way/thanks - no, no way, no thanks
yes/sure/ok - yes, sure, or ok (keeps neater and tighter than , or |)
also please consider the use of "?" in this way:
? here - any word along with here would trigger, ie: i'm here, you're here, they're here, screw here... for example gobledegook would be just as valid where the ? is, a swear word or a non-word would work - but in this example there MUST be a word before "here"
/? here
could also be /? which would mean is is optional if there is an extra word before "here"... ie; here, i'm here
there is also the possibility to use "!" in this way;
give /?/!andrea/ access
would trigger with any word but "andrea", ie;
give access
give alex access
give blabla access
would work, but
"give andrea access" would be the only phrase that would not
that should be a good start. im sorry ive been coding for 37 years i have a lot of projects but i thought this might greatly improve your product so i took a few moments to share this with you.
when you reacted in such a great way, i thought "its worth the time"
enjoy! let me know if you implement, i know it would sure make my life easier....