加入机器人自由的 合作伙伴和联盟 的程序和支持我们免费开放平台
Bot Libre Forum : random remembered

RE: random remembered

通过 admin 发布 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
发布: Sep 19 2018, 10:47
更新: Sep 19 2018, 10:47
答复: 0
的风景: 1223, 今天: 1, 周: 11, 一个月: 19
我敢肯定
标志后的进攻,或者在违反规则网站