quote:
Originally posted by Shanka
I don't think this script alone has the hability to check if it's the first time the expression is used (just to count amount of times it occurs in a sentence), it would be cool though. In flex that was possible making pseudo states and stuff...
Maybe you could try to recognize wich words people generally use to greet you, in wich parts of the sentences those words occur (^ and $) and try to make a almost universal regex. Like those examples you gave (hello", "holla", "good morning") separated by |.
Then for the numbers of the menu use a unusual expression like opt1, opt2, to reduce the probability of someone invoking that expression without wanting.
That´s sounds be a nice idea. But I am newbie in this scripts... Can you give me an example for a better understanding?
I thanks your help in advance.