RE: having trouble with this aiml code |
You can use something like: <category><pattern>I like it when *</pattern> <template>Is that what you always liked? <think><self>#self.like = star;</self></think></template> </category> <category><pattern>what do i like</pattern> <template>You like <self>#self.like</self></template> </category> |
|
|
|
|