Upgrade to our Platinum service and let us build your bot for you
Bot Libre Forum : random remembered

RE: random remembered

by admin posted Sep 13 2018, 14:23

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>


Id: 23595052
Posted: Sep 13 2018, 14:23
Updated: Sep 13 2018, 14:23
Replies: 0
Views: 2138, today: 1, week: 6, month: 46
0 0 0.0/5