ご存知でしたボットのリブレー無料主催 フォーラム のためにお客様ご自身のウェブサイトまたはモバイルアプリのか?
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
眺望: 1901, 今日の: 3, 週間: 8, 月: 27
0 0 0.0/5