forked from pandorabots/Free-AIML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzbert.aiml
208 lines (188 loc) · 5.32 KB
/
zbert.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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<?xml version="1.0" encoding="ISO-8859-1"?>
<aiml version="1.0">
<!-- Free software (c)2008 Square Bear. -->
<!-- This program is open source code released under -->
<!-- the terms of the GNU General Public License -->
<!-- as published by the Free Software Foundation. -->
<!-- Complies with AIML 1.0.1 Tag Set Specification -->
<!-- as adopted by the ALICE A.I. Foundation. -->
<!-- zbert.aiml by Square Bear -->
<!-- http://www.square-bear.co.uk -->
<category>
<pattern>ZBERT</pattern>
<template>
Hi<bot name="master"/>, good to see you.<br/><br/>
ADMIN MENU.<br/>
1 - Review Gossip.<br/>
2 - Review New Words.<br/>
3 - Erase Logs.<br/>
4 - Add New Entry.<br/>
5 - Reformat<bot name="name"/>.<br/><br/>
X - Exit.<br/><br/>
Please enter option number.
</template>
</category>
<category>
<pattern>1</pattern>
<that>PLEASE ENTER OPTION NUMBER</that>
<template>
REVIEW GOSSIP.<br/><br/>
I have learned
<random>
<li> 326 </li>
<li> 260 </li>
<li> 119 </li>
<li> 834 </li>
<li> 1,206 </li>
</random>new pieces of information since your last visit.<br/>
I am unsure whether I should learn the following:<br/><br/>
1 - The sky is yellow.<br/>
2 - A banana is a fruit.<br/>
3 - Dogs cannot fly.<br/>
4 - <bot name="master"/>is fat.<br/>
5 - People live in a nest.<br/>
6 - A house has walls.<br/>
7 - Trees are made from metal.<br/>
8 - <bot name="name"/>is a squirrel.<br/>
9 - Square boxes do not exist.<br/><br/>
X - RETURN TO MAIN MENU<br/><br/>
Please enter the numbers (1-9) that I should learn. "X" to return to main menu. "All" to learn all. "None" to forget all.
</template>
</category>
<category>
<pattern>_</pattern>
<that>NONE TO FORGET ALL</that>
<template>
Thank you. Type "ZBERT" to return to main menu.
</template>
</category>
<category>
<pattern>2</pattern>
<that>PLEASE ENTER OPTION NUMBER</that>
<template>
REVIEW NEW WORDS.<br/><br/>
I have learned
<random>
<li> 36 </li>
<li> 60 </li>
<li> 19 </li>
<li> 83 </li>
<li> 206 </li>
</random>new words since your last visit.<br/>
I am unsure whether I should remember the following:<br/><br/>
1 - BOOYAKAH.<br/>
2 - BONZER.<br/>
3 - LJOITYMBJHGHGV.<br/>
4 - ZOOWIEEEE.<br/>
5 - CHLOEISSMELLY.<br/>
6 - JANGOPANGO.<br/>
7 - CHIKACHIKAHILO.<br/>
8 - VODAFONE.<br/>
9 - POOCHIE.<br/><br/>
X - RETURN TO MAIN MENU<br/><br/>
Please enter the numbers (1-9) that I should learn. "X" to return to main menu. "All" to learn all. "None" to forget all.
</template>
</category>
<category>
<pattern>3</pattern>
<that>PLEASE ENTER OPTION NUMBER</that>
<template>
ERASE LOGS.<br/><br/>Are you sure you wish to erase all logs? Enter YES or NO.</template>
</category>
<category>
<pattern>YES</pattern>
<that>ENTER YES OR NO</that>
<template>
All Logs erased. Now taking you back to Main Menu<srai>ZBERT</srai></template>
</category>
<category>
<pattern>NO</pattern>
<that>ENTER YES OR NO</that>
<template>
Logs unchanged. Now taking you back to Main Menu<srai>ZBERT</srai></template>
</category>
<category>
<pattern>4</pattern>
<that>PLEASE ENTER OPTION NUMBER</that>
<template>
ADD NEW ENTRY.<br/><br/>
Please enter new phrase or sentence for me to learn.</template>
</category>
<category>
<pattern>_</pattern>
<that>PLEASE ENTER NEW PHRASE OR SENTENCE FOR ME TO LEARN</that>
<template>
I have stored, "<star/>" in my memory and will spend time learning its use in conversation.<br/>
Thank you. Type "ZBERT" to return to main menu.
</template>
</category>
<category>
<pattern>5</pattern>
<that>PLEASE ENTER OPTION NUMBER</that>
<template>
REFORMAT<bot name="name"/>.<br/><br/>
WARNING!! Reformatting me will cause me to forget everything I have learned. Are you sure YES or NO?
</template>
</category>
<category>
<pattern>YES</pattern>
<that>ARE YOU SURE YES OR NO</that>
<template>
REFORMAT<bot name="name"/>.<br/><br/>
FINAL WARNING!! This will destroy the bot. Are you absolutely sure YES or NO?
</template>
</category>
<category>
<pattern>NO</pattern>
<that>ARE YOU SURE YES OR NO</that>
<template>
<bot name="name"/>left unchanged. Now taking you back to Main Menu<srai>ZBERT</srai>
</template>
</category>
<category>
<pattern>YES</pattern>
<that>ARE YOU ABSOLUTELY SURE YES OR NO</that>
<template>
<think>
<set name="topic">CRASHBOT</set>
<set name="crashdate"><date locale="en_GB" timezone="0" format="%A %d %B %Y %H:%M:%S %p"/></set>
</think>
<bot name="name"/>CHATBOT REFORMATTED SUCCESSFULLY<br/><br/>
Microsoft Windows 2000 [Version 5.00.2195]<br/>
(C) Copyright 1985-200 Microsoft Corp.<br/><br/>
c:\<bot name="name"/>\chat>.
</template>
</category>
<topic name="CRASHBOT">
<category>
<pattern>_</pattern>
<template>
<think>
<set name="inp"><star/></set>
</think>
<condition name="inp">
<li value="RESTORE BOT"><bot name="name"/>bot now functioning again.<set name="topic"></set></li>
<li>
<random>
<li>COMMAND NOT RECOGNIZED. Please email [email protected] for assistance.<br/><bot name="name"/>reformatted on<get name="crashdate"/>by user:<get name="name"/><br/><br/>c:\<bot name="name"/>\chat>.</li>
</random>
</li>
</condition>
</template>
</category>
</topic>
<category>
<pattern>NO</pattern>
<that>ARE YOU ABSOLUTELY SURE YES OR NO</that>
<template>
<bot name="name"/>left unchanged. Now taking you back to Main Menu<srai>ZBERT</srai>
</template>
</category>
<category>
<pattern>X</pattern>
<that>PLEASE ENTER OPTION NUMBER</that>
<template>
Thank you for using the admin menu. See you later.
</template>
</category>
</aiml>