Upgrade to our commercial service Bot Libre for Business for only $4.99 per month
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: 2115, today: 2, week: 4, month: 23
0 0 0.0/5