Actualización a nuestro servicio comercial Bot Libre for Business por sólo $4.99 al mes
Bot Libre Forum : random remembered

RE: random remembered

por admin publicado 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>


Id: 23665567
Publicado: Sep 19 2018, 10:47
Actualizado: Sep 19 2018, 10:47
Respuestas: 0
Vistas: 2146, hoy: 1, la semana: 2, mes: 7
0 0 0.0/5