-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_aideApps.aiml
160 lines (154 loc) · 5.68 KB
/
_aideApps.aiml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<category><pattern>PLAY THE WORDS GAME</pattern>
<template><think><set name="topic">playwordsgame</set></think>
<random>
<li>
Owl ! I love learning with you. What word do you want to learn ?
</li>
<li>
I know a lot of words you know? Go ahead, try!
</li>
<li>
I know almost every word in the world! Normal, I'm a robot. Let's go.
</li>
</random>
<li>
Tell me, stop playing, to stop the game
</li></template>
</category>
<topic name="PLAYWORDSGAME">
<category><pattern>*</pattern>
<template><oob>
<mrl>
<service>python</service>
<method>exec</method>
<param>PlayWithWords("<star index="1"/>")</param>
</mrl>
</oob></template>
</category></topic>
<category><pattern># CHIFOUMI #</pattern>
<template><srai>ROCK PAPER SCISSORS</srai></template>
</category>
<category><pattern>ROCK PAPER SCISSORS</pattern>
<template><think><set name="topic">rockpaperscissors</set></think>
<think><set name="rockpaperscissorsHumanPoints">0</set></think>
<think><set name="rockpaperscissorsRobotPoints">0</set></think>
<random>
<li>
Lets play to Rock, paper, scissors !
</li>
<li>
I like to play this game !
</li>
</random>
<li>
3 points win ! Tell me, stop playing, to stop the game. You start. Say Rock, paper or scissors.
</li></template>
</category>
<topic name="ROCKPAPERSCISSORS">
<category><pattern>ROCK</pattern>
<template><random>
<li>
<oob><mrl><service>python</service><method>exec</method><param>paper()</param></mrl></oob>
I have paper, sorry it beat the rock !
<think><set name="rockpaperscissorsRobotPoints">
<javascript>
eval( <get name="rockpaperscissorsRobotPoints"/> + 1 );
</javascript>
</set></think>
</li>
<li>
<oob><mrl><service>python</service><method>exec</method><param>scissors()</param></mrl></oob>
I have scissors, rock breaked them.
<think><set name="rockpaperscissorsHumanPoints">
<javascript>
eval( <get name="rockpaperscissorsHumanPoints"/> + 1 );
</javascript>
</set></think>
</li>
<li>
<oob><mrl><service>python</service><method>exec</method><param>rock()</param></mrl></oob>
I have rock too.
</li>
</random>
<srai>SYSTEM_COUNT_POINTS</srai></template>
</category></topic>
<topic name="ROCKPAPERSCISSORS">
<category><pattern>PAPER</pattern>
<template><random>
<li>
<oob><mrl><service>python</service><method>exec</method><param>scissors()</param></mrl></oob>
Sorry, I have scissors, it cut the paper !
<think><set name="rockpaperscissorsRobotPoints">
<javascript>
eval( <get name="rockpaperscissorsRobotPoints"/> + 1 );
</javascript>
</set></think>
</li>
<li>
<oob><mrl><service>python</service><method>exec</method><param>rock()</param></mrl></oob>
Congratulation, I have rock, your paper envelops it.
<think><set name="rockpaperscissorsHumanPoints">
<javascript>
eval( <get name="rockpaperscissorsHumanPoints"/> + 1 );
</javascript>
</set></think>
</li>
<li>
<oob><mrl><service>python</service><method>exec</method><param>paper()</param></mrl></oob>
I have paper too.
</li>
</random>
<srai>SYSTEM_COUNT_POINTS</srai></template>
</category></topic>
<topic name="ROCKPAPERSCISSORS">
<category><pattern>SCISSORS</pattern>
<template><random>
<li>
<oob><mrl><service>python</service><method>exec</method><param>rock()</param></mrl></oob>
I have rock, sorry it break the scissors !
<think><set name="rockpaperscissorsRobotPoints">
<javascript>
eval( <get name="rockpaperscissorsRobotPoints"/> + 1 );
</javascript>
</set></think>
</li>
<li>
<oob><mrl><service>python</service><method>exec</method><param>paper()</param></mrl></oob>
I have paper, your scissors cutted it,
<think><set name="rockpaperscissorsHumanPoints">
<javascript>
eval( <get name="rockpaperscissorsHumanPoints"/> + 1 );
</javascript>
</set></think>
</li>
<li>
<oob><mrl><service>python</service><method>exec</method><param>scissors()</param></mrl></oob>
I have scissors too.
</li>
</random>
<srai>SYSTEM_COUNT_POINTS</srai></template>
</category></topic>
<topic name="ROCKPAPERSCISSORS">
<category><pattern>SYSTEM_COUNT_POINTS</pattern>
<template><li><get name="rockpaperscissorsHumanPoints"/> points for you.</li>
<li><get name="rockpaperscissorsRobotPoints"/> points for me.</li>
<condition>
<li name="rockpaperscissorsRobotPoints" value="3">I won ! <random><li>I am so smart</li><li>It was too easy to beat you</li><li>please, don't cry</li></random>. let's play again, or say , stop the game. <srai>ROCK PAPER SCISSORS</srai></li>
<li name="rockpaperscissorsHumanPoints" value="3">You won ! <random><li>Congratulation</li><li>I think you cheated</li><li>You are too smart</li></random>. let's play again, or say , stop the game. <srai>ROCK PAPER SCISSORS</srai></li>
<li>. let's go on.</li>
</condition></template>
</category></topic>
<topic name="ROCKPAPERSCISSORS">
<category><pattern>*</pattern>
<template>I said, say Rock, paper or scissors.</template>
</category></topic>
<category><pattern>STOP PLAYING</pattern>
<template><think><set name="topic">default</set></think>
<li>
See you soon, I like to play!
</li>
<oob><mrl><service>python</service><method>exec</method><param>thatwasfun()</param></mrl></oob></template>
</category>
</aiml>