Upgrade to our Diamond service and we will build you your own app for Android or iOS
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: 1911, today: 2, week: 7, month: 34
0 0 0.0/5