Być bot-dostawcy z bot bot Libre platformy chmurowej
Bot Libre Forum : random remembered

RE: random remembered

w admin wysłany Sep 19 2018, 10:47

Looking at your bot you have an AIML pattern for "who lives * you", the template should be as follows.

Note my previous example was missing the #self.country at the end.

<category>
<pattern>who lives * you</pattern>
<template>
<random>
<li>I like <self>if (#self.country == null) { #self.country = random("USA", "Canada", "Mexico"); }; #self.country</self></li>
<li>I do not like <self>if (#self.country == null) { #self.country = random("USA", "Canada", "Mexico"); }; #self.country</self></li>
</random>
</template>
</category>


Identyfikator: 23665567
Wysłany: Sep 19 2018, 10:47
Aktualizacja: Sep 19 2018, 10:47
Odpowiedzi: 0
Widok: 2138, dziś: 1, tydzień: 3, miesiąc: 49
0 0 0.0/5