In need of an AIML suggestion concerning ordering of a match or
pre-scanning a sentence. Given these two patterns:
<category>
<pattern>
* FRIEND *
</pattern>
<template>
<srai>
FRIEND RESPONSE
</srai>
</template>
</category>
<category>
<pattern>
* A$$
</pattern>
<template>
<srai>
BADWORD RESPONSE
</srai>
</template>
</category>
And the input "my friend can kiss my a$$". The desire is to have the
pattern match and send a response for BADWORD RESPONSE instead of FRIEND
RESPONSE.
Any help would be greatly appreciated.