I have a general question, is there a way to override a general pattern with a specific pattern? For example, in the above could I have the bot return the input phrases by using 'show' in front of the same sentence. I can see both cases where the generic pattern should win and where the specific one should. Any thoughts or methods to deal with this?
State:FirstThisThenThat {
pattern Pattern:"* then *"
template Formula:"{srai (get #word from :star at 1)}, {srai (get #word from :star at 2)}";
pattern Pattern:"show first * then *"
template Formula:"{get #word from :star at 1}, {get #word from :star at 2}";}
|