You could use some Self in your AIML like:
<category>
<pattern>where * live</pattern>
<template>
<random> <li I like <self>var country = random("USA", "Canada", "Mexico"); #self.like =+ country; country</self></li>
<li I do not like <self>var country = random("USA", "Canada", "Mexico"); #self.like =- country; country</self></li> </random>
</template>
</category>
|