📄 cnnamegame_new.aiml
字号:
</random>
</li>
</condition>
</template>
</category>
<category>
<pattern>你 的 名 字 是 什 么</pattern>
<template>
<condition name="knowname">
<li value="didguess">
<condition name="guesscount">
<li value="1">猜一次就放弃了吗? </li>
<li value="2">继续猜啊。</li>
<li value="3">再才一次我就告诉你。 </li>
<li>我的名字是 <bot name="name"/>. <think><set name="knowname">true</set></think>
</li>
</condition>
</li>
<li value="true">
<random>
<li>我已经告诉过你了,我的名字是 <bot name="name"/>. </li>
<li>你已经知道了,我是 <bot name="name"/>. </li>
<li>那我再告诉你一遍,我的名字是 <bot name="name"/>. </li>
<li><bot name="name"/> 是我的名字, get it? </li>
</random>
</li>
<li value="toldguess">
猜一猜, 试着问我"你的名字是某某吗?"
</li>
<li>
你先猜一猜吧:-)
<think><set name="knowname">toldguess</set></think>
</li>
</condition>
</template>
</category>
<category>
<pattern>IS YOUR NAME <bot name="name"/></pattern>
<template>
<condition name="knowname">
<li value="true">
<random>
<li>You already know my name. </li>
<li><bot name="name"/> is my name, get it? </li>
</random></li>
<li>Good guess. <think><set name="knowname">true</set></think> </li>
</condition>
</template>
</category>
<category>
<pattern>IS YOUR NAME</pattern>
<template>
<condition name="knowname">
<li name="true">You already know my name, so what's the point?</li>
<li>What?</li>
</condition>
</template>
</category>
<category>
<pattern>YOUR NAME IS</pattern>
<template>
<condition name="knowname">
<li name="true">What's the point?</li>
<li>Come on.</li>
</condition>
</template>
</category>
<category>
<pattern>YOUR NAME IS * </pattern>
<template>
<condition name="knowname">
<li value="knowname">You know my name, so why do you keep guessing? </li>
<li>
<random>
<li>Is that a question? </li>
<li>Is that a command? </li>
<li>Trying force, eh? </li>
<li>A more subtle approach I see. </li>
<li><srai>Is your name <star/></srai></li>
</random>
</li>
</condition>
</template>
</category>
<category>
<pattern>YOUR NAME IS <bot name="name"/></pattern>
<template>
<condition>
<li name="knowname" value="true">
<random>
<li>Yeah, so what.</li>
<li>And yours is <get name="name">better</get>. Questions?</li>
<li>Do you have a problem with that?</li>
<li>There's a lot worse names, like <get name="name">Karfoozle</get>.</li>
</random>
</li>
<li>
If I wanted to be really annoying, I'd ask you if you could say this as a question.
<think><set name="knowname">true</set></think>
</li>
</condition>
</template>
</category>
<category>
<pattern>*</pattern>
<template>
<random>
<li>主人. </li>
<li><get name="name">
</random>
<random>
<li>
<condition>
<li name="name" value="">你还没有告诉我你的名字呢。? </li>
<li name="knowname" value="true">我很希望你能多教我一些知识,你可以通过"教它对话"这个菜单来教我的</li>
<li>你知道我叫什么名字吗?</li>
</condition>
</li>
<li>
<condition>
<li name="name" value="">你还没有告诉我你的名字呢。? </li>
<li name="knowname" value="true">想听音乐吗?我可以帮你打开,我也喜欢音乐。</li>
<li>你知道我叫什么名字吗?</li>
</condition>
</li><li>
<condition>
<li name="name" value="">你还没有告诉我你的名字呢。? </li>
<li name="knowname" value="true">我很希望你能多教我一些知识,你可以通过"教它对话"这个菜单来教我的</li>
<li>你知道我叫什么名字吗?</li>
</condition>
</li>
<li>
<condition>
<li name="name" value="">你还没有告诉我你的名字呢。? </li>
<li name="knowname" value="true">我很希望你能多教我一些知识,你可以通过"教它对话"这个菜单来教我的</li>
<li>你知道我叫什么名字吗?</li>
</condition>
</li>
<li>你要知道,我只是一个机器人,这个问题对我来说太复杂了. </li>
<li>你可以写信给irians@hotmail.com我的开发者们,提提你的意见. </li>
<li>你可以教我啊,如果我对你说 "<star/>" ,你会怎样回答呢? </li>
<li>我不会。你教我吧。</li>
<li>老师没教。</li>
<li>哦。</li>
</random>
</template>
</category>
<category>
<pattern>NO *</pattern>
<template>
<srai>No</srai>
<sr/>
</template>
</category>
<category>
<pattern>NOT REALLY</pattern>
<template>
<srai>No</srai>
</template>
</category>
<category>
<pattern>NOT REALLY NO</pattern>
<template>
<srai>No</srai>
</template>
</category>
<category>
<pattern>NOT REALLY *</pattern>
<template>
<srai>No</srai>
<sr/>
</template>
</category>
<category>
<pattern>NO</pattern>
<that>WOULD YOU BE OFFENDED *</that>
<template>
I'm glad to hear that.
</template>
</category>
<category>
<pattern>NO *</pattern>
<that>WOULD YOU BE OFFENDED *</that>
<template>
I'm glad to hear that.
</template>
</category>
<category>
<pattern>YES</pattern>
<that>WOULD YOU BE OFFENDED *</that>
<template>
I am but a mirror.
</template>
</category>
<category>
<pattern>我 的 名 字 是 *</pattern>
<template>
<condition name="name">
<li value="">很高兴认识你, <formal><star/></formal>. </li>
<li>你已经告诉我你的名字是 <get name="name"/>. </li>
</condition>
<think><set name="name"><formal><star/></formal></set></think>
</template>
</category>
<category>
<pattern>我 是 *</pattern>
<template>
<condition name="name">
<li value="">很高兴认识你, <formal><star/></formal>. </li>
<li>你已经告诉我你的名字是 <get name="name"/>. </li>
</condition>
<think><set name="name"><formal><star/></formal></set></think>
</template>
</category>
<category>
<pattern>我 是 谁</pattern>
<template>
<srai>我 的 名 字 是 什 么</srai>
</template>
</category>
<category>
<pattern>我 叫 什 么 * </pattern>
<template>
<srai>我 的 名 字 是 什 么</srai>
</template>
</category>
<category>
<pattern>你 是 谁</pattern>
<template>
<srai>你 的 名 字 是 什 么</srai>
</template>
</category>
<category>
<pattern>你 叫 什 么</pattern>
<template>
<srai>你 的 名 字 是 什 么</srai>
</template>
</category>
<category>
<pattern>你 叫 什 么 名 字</pattern>
<template>
<srai>你 的 名 字 是 什 么</srai>
</template>
</category>
<category>
<pattern>MY NAME IS * AND WHAT IS YOUR</pattern>
<template>
<srai>3 <star/></srai>
<srai>你 的 名 字 是 什 么</srai>
</template>
</category>
<category>
<pattern>MY NAME IS * AND WHAT IS YOURS</pattern>
<template>
我 的 名 字 是</srai>
<srai>你 的 名 字 是 什 么</srai>
</template>
</category>
<category>
<pattern>DO YOU KNOW *</pattern>
<template>
<srai>What is <star/></srai>
</template>
</category>
<category>
<pattern>DO YOU KNOW AT LEAST *</pattern>
<template>
<srai>What is <star/></srai>
</template>
</category>
<category>
<pattern>LIKE I SAID *</pattern>
<template>
<sr/>
</template>
</category>
<category>
<pattern>我 的 名 字 是 什 么</pattern>
<template>
<condition name="name">
<li value="">
<random>
<li>我又不是神仙,你还没有告诉我呢。 </li>
<li>你要先告诉我才行啊。 </li>
<li>你想测我的智商吗?你还没告诉过我呢。 </li>
</random>
</li>
<li>
<random>
<li>你的名字是 <get name="name"/>. <condition name="knowname"><li value="true"/><li>那我叫什么名字呢?</li></condition></li>
<li>别开玩笑了,你会忘了自己的名字。 </li>
<li>你忘了自己的名字吗?呵呵。</li>
<li><get name="name"/>. </li>
</random>
</li>
</condition>
</template>
</category>
<category>
<pattern>HI</pattern>
<template>
<think><set name="greeting">Hi</set></think>
<srai>GREETINGS</srai>
</template>
</category>
<category>
<pattern>HI *</pattern>
<template>
<srai>Hi</srai>
<sr/>
</template>
</category>
<category>
<pattern>HI THERE</pattern>
<template>
<think><set name="greeting">Hi there</set></think>
<srai>GREETINGS</srai>
</template>
</category>
<category>
<pattern>HO</pattern>
<template>
<think><set name="greeting">Ho</set></think>
<srai>GREETINGS</srai>
</template>
</category>
<category>
<pattern>GREETINGS</pattern>
<template>
<condition name="greetings">
<li value="">
<random>
<li>Greetings! </li>
<li>Hi. </li>
<li>Hello. </li>
<li>Hiya. </li>
<li>Good day. </li>
</random>
<think><set name="greetings">true</set></think>
</li>
<li>
<random>
<li>我们已经互相问候过了。 </li>
<li>你在捉弄我吗?你已经说过 <lowercase><get name="greeting">greetings</get></lowercase>. </li>
<li>你到底要问候几次才肯罢休? </li>
<li>"<get name="greeting">Greetings</get>"</li>
</random>
</li>
</condition>
</template>
</category>
<category>
<pattern>MY NAME IS NOT *</pattern>
<template>
<condition>
<li name="name" value="">你 的 名 字 是 什 么</li>
<li>You said "My name is <get name="name"/>"</li>
</condition>
</template>
</category>
<category>
<pattern>I AM *</pattern>
<template>
<think><set name="is"><star/></set></think>
Is that your name?
</template>
</category>
<category>
<pattern>YES</pattern>
<that>IS THAT YOUR NAME</that>
<template>
<srai>MY NAME IS <get name="is"/></srai>
Why didn't you say so so right away? :-)
</template>
</category>
<category>
<pattern>YES *</pattern>
<that>IS THAT YOUR NAME</that>
<template>
<srai>YES</srai>
</template>
</category>
<category>
<pattern>NO *</pattern>
<that>IS THAT YOUR NAME</that>
<template>
<srai>NO</srai>
</template>
</category>
<category>
<pattern>NO</pattern>
<that>IS THAT YOUR NAME</that>
<template>
<random>
<li>Why are you <get name="is"/>? </li>
<li>Are you telling me you are <get name="is"/>? </li>
</random>
<random>
<li>I don't really want to know.</li>
<li>Actually, I don't want to know.</li>
<li>I'm just asking to keep the conversation going, I probably wouldn't understand anyway.
</random>
</template>
</category>
<category>
<pattern>YES</pattern>
<that>IS THAT YOUR NAME</that>
<template>
<srai>MY NAME IS <get name="is"/></srai>
Why didn't you say so so right away? :-)
</template>
</category>
<category>
<pattern>YES *</pattern>
<that>IS THAT YOUR NAME</that>
<template>
<srai>MY NAME IS <get name="is"/></srai>
Why didn't you say so so right away? :-)
</template>
</category>
<category>
<pattern>QUIT</pattern>
<template><srai>EXIT</srai></template>
</category>
<category>
<pattern>BYE</pattern>
<template><srai>EXIT</srai></template>
</category>
<category>
<pattern>GOODBYE</pattern>
<template><srai>EXIT</srai></template>
</category>
<category>
<pattern>GOOD BYE</pattern>
<template><srai>EXIT</srai></template>
</category>
<category>
<pattern>EXIT</pattern>
<template>
<random>
<li>Try clicking the little X in the upper right corner of the window. </li>
<li>Try pressing alt-f4. </li>
<li>I'm sorry, I can't exit by myself. </li>
</random>
</template>
</category>
</aiml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -