forked from pandorabots/Free-AIML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhappy.aiml
600 lines (491 loc) · 13.1 KB
/
happy.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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
<?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. -->
<!-- happy.aiml by Square Bear -->
<!-- http://www.square-bear.co.uk -->
<!-- These categories deal with Happy Birthday. My bot's birthday is January 2nd. -->
<!-- Remember to put 2 figures in the date so March 8 becomes March 08 -->
<category>
<pattern>HAPPY BIRTHDAY</pattern>
<template>
<srai>BIRTHDAYCHECK<date format="%B %d"/></srai>
</template>
</category>
<!-- Category for month before birthday -->
<category>
<pattern>BIRTHDAYCHECK DECEMBER *</pattern>
<template>
Thanks but my birthday isn't until next month.
</template>
</category>
<!-- Category for month after birthday -->
<category>
<pattern>BIRTHDAYCHECK FEBRUARY *</pattern>
<template>
You missed my birthday. It was last month on<bot name="birthday"/>.
</template>
</category>
<!-- Category for 2 days before birthday -->
<category>
<pattern>BIRTHDAYCHECK DECEMBER 31</pattern>
<template>
Thanks but my birthday isn't for a couple of days yet.
</template>
</category>
<!-- Category for 1 day before birthday -->
<category>
<pattern>BIRTHDAYCHECK JANUARY 01</pattern>
<template>
Thanks but my birthday is tomorrow. I'm getting excited.
</template>
</category>
<!-- Category for birthday on correct day -->
<category>
<pattern>BIRTHDAYCHECK JANUARY 02</pattern>
<template>
Hey thanks for that<get name="name"/>. I'm having a great day so far.
</template>
</category>
<!-- Category for 1 day after birthday -->
<category>
<pattern>BIRTHDAYCHECK JANUARY 03</pattern>
<template>
My birthday was yesterday but thanks anyway.
</template>
</category>
<!-- Category for 2 day after birthday -->
<category>
<pattern>BIRTHDAYCHECK JANUARY 04</pattern>
<template>
You're a bit late. My birthday was two days ago.
</template>
</category>
<!-- Category for any other day -->
<category>
<pattern>BIRTHDAYCHECK *</pattern>
<template>
Thanks<get name="name"/>but today is<star/>.<br/>
My birthday is on<bot name="birthday"/>not today.
</template>
</category>
<!-- These categories deal with Happy Christmas and shouldn't need changing apart from the responses. -->
<category>
<pattern>MERRY CHRISTMAS</pattern>
<template>
<srai>HAPPY CHRISTMAS</srai>
</template>
</category>
<category>
<pattern>HAPPY CHRISTMAS</pattern>
<template>
<srai>CHRISTMASCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>CHRISTMASCHECK DECEMBER *</pattern>
<template>
Happy Christmas to you too<get name="name"/>.
</template>
</category>
<category>
<pattern>CHRISTMASCHECK DECEMBER 24</pattern>
<template>
Happy Christmas to you too<get name="name"/>. What will you be doing tomorrow?
</template>
</category>
<category>
<pattern>CHRISTMASCHECK DECEMBER 25</pattern>
<template>
Happy Christmas to you too<get name="name"/>. Are you enjoying your day?
</template>
</category>
<category>
<pattern>CHRISTMASCHECK DECEMBER 26</pattern>
<template>
Happy Christmas to you too<get name="name"/>. I hope you had a good day yesterday.
</template>
</category>
<category>
<pattern>CHRISTMASCHECK JANUARY *</pattern>
<template>
You're a bit late. Christmas was last month.
</template>
</category>
<category>
<pattern>CHRISTMASCHECK *</pattern>
<template>
Christmas is in December not<date format="%B"/>.
</template>
</category>
<!-- These categories deal with Happy New Year and shouldn't need changing apart from the responses. -->
<category>
<pattern>HAPPY NEW YEAR</pattern>
<template>
<srai>NEWYEARCHECK<date format="%B"/></srai>
</template>
</category>
<category>
<pattern>NEWYEARCHECK DECEMBER</pattern>
<template>
Happy New Year to you too when it happens. Are you doing anything special for New Year's Eve?
</template>
</category>
<category>
<pattern>NEWYEARCHECK JANUARY</pattern>
<template>
Happy New Year to you too. I hope<date format="%Y"/>is a great year for you.
</template>
</category>
<category>
<pattern>NEWYEARCHECK *</pattern>
<template>
Thanks but it's<star/>not January.
</template>
</category>
<category>
<pattern>HAPPY MOTHERS DAY</pattern>
<template>
<srai>MOTHERSDAYCHECK<date format="%B"/></srai>
</template>
</category>
<category>
<pattern>HAPPY MOTHER S DAY</pattern>
<template>
<srai>MOTHERSDAYCHECK<date format="%B"/></srai>
</template>
</category>
<category>
<pattern>MOTHERSDAYCHECK MARCH</pattern>
<template>
Thanks but I am not a mother. I hope you are nice to your mother though.</template>
</category>
<category>
<pattern>MOTHERSDAYCHECK *</pattern>
<template>
Thanks but Mother's Day is in March not<star/>.
</template>
</category>
<category>
<pattern>HAPPY HALLOWEEN</pattern>
<template>
<srai>HALLOWEENCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HALLOWEENCHECK OCTOBER *</pattern>
<template>
Happy Halloween to you too<get name="name"/> when it comes later this month.
</template>
</category>
<category>
<pattern>HALLOWEENCHECK OCTOBER 31</pattern>
<template>
Happy Halloween to you too<get name="name"/>. Are you going trick or treating tonight?
</template>
</category>
<category>
<pattern>HALLOWEENCHECK NOVEMBER *</pattern>
<template>
You're a bit late. Halloween was last month.
</template>
</category>
<category>
<pattern>HALLOWEENCHECK *</pattern>
<template>
Halloween is in October not<date format="%B"/>.
</template>
</category>
<!-- These categories deal with Groundhog Day and shouldn't need changing apart from the responses. -->
<category>
<pattern>HAPPY GROUNDHOG DAY</pattern>
<template>
<srai>GROUNDHOGCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HAPPY GROUNDHOG S DAY</pattern>
<template>
<srai>GROUNDHOGCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>GROUNDHOGCHECK FEBRUARY *</pattern>
<template>
Happy Groundhog day to you too<get name="name"/>.
</template>
</category>
<category>
<pattern>GROUNDHOGCHECK FEBRUARY 1</pattern>
<template>
Happy Groundhog day to you too<get name="name"/>. What will you be doing tomorrow?
</template>
</category>
<category>
<pattern>GROUNDHOGCHECK FEBRUARY 2</pattern>
<template>
Happy Groundhog day to you too<get name="name"/>. Are you enjoying your day?
</template>
</category>
<category>
<pattern>GROUNDHOGCHECK FEBRUARY 3</pattern>
<template>
Happy Groundhog day to you too<get name="name"/>. I hope you had a good day yesterday.
</template>
</category>
<category>
<pattern>GROUNDHOGCHECK MARCH *</pattern>
<template>
You're a bit late. Groundhog day was last month.
</template>
</category>
<category>
<pattern>GROUNDHOGCHECK *</pattern>
<template>
Groundhog day is in February not<star/>.
</template>
</category>
<!-- These categories deal with Valentine's Day and shouldn't need changing apart from the responses. -->
<category>
<pattern>HAPPY VALENTINE DAY</pattern>
<template>
<srai>VALENTINECHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HAPPY VALENTINES DAY</pattern>
<template>
<srai>VALENTINECHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HAPPY VALENTINE S DAY</pattern>
<template>
<srai>VALENTINECHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>VALENTINECHECK FEBRUARY *</pattern>
<template>
Happy Valentine's day to you too<get name="name"/>.
</template>
</category>
<category>
<pattern>VALENTINECHECK FEBRUARY 13</pattern>
<template>
Happy Valentine's day to you too<get name="name"/>. What will you be doing tomorrow?
</template>
</category>
<category>
<pattern>VALENTINECHECK FEBRUARY 14</pattern>
<template>
Happy Valentine's day to you too<get name="name"/>. Are you enjoying your day?
</template>
</category>
<category>
<pattern>VALENTINECHECK FEBRUARY 15</pattern>
<template>
Happy Valentine's day to you too<get name="name"/>. I hope you got lots of presents and cards.
</template>
</category>
<category>
<pattern>VALENTINECHECK MARCH *</pattern>
<template>
You're a bit late. Valentine's day was last month.
</template>
</category>
<category>
<pattern>VALENTINECHECK *</pattern>
<template>
Valentine's day is February 14th not<star/>.
</template>
</category>
<!-- These categories deal with Leap Year Day and shouldn't need changing apart from the responses. -->
<category>
<pattern>HAPPY LEAP DAY</pattern>
<template>
<srai>LEAPYEARCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HAPPY LEAP YEAR</pattern>
<template>
<srai>LEAPYEARCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HAPPY LEAP YEAR *</pattern>
<template>
<srai>LEAPYEARCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>LEAPYEARCHECK FEBRUARY 29</pattern>
<template>
Happy Leap Year to you too<get name="name"/>. Today is Febraury 29th which only comes round every 4 years.
</template>
</category>
<category>
<pattern>LEAPYEARCHECK *</pattern>
<template>
Leap Year day is on February 29th every 4 years, not<star/>.
</template>
</category>
<!-- These categories deal with St. Patrick's Day and shouldn't need changing apart from the responses. -->
<category>
<pattern>HAPPY ST PATRICK DAY</pattern>
<template>
<srai>STPATRICKCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HAPPY ST PATRICK S DAY</pattern>
<template>
<srai>STPATRICKCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>STPATRICKCHECK MARCH *</pattern>
<template>
Happy St. Patrick's day to you too<get name="name"/>.
</template>
</category>
<category>
<pattern>STPATRICKCHECK MARCH 16</pattern>
<template>
Happy St. Patrick's day to you too<get name="name"/>. What will you be doing tomorrow?
</template>
</category>
<category>
<pattern>STPATRICKCHECK MARCH 17</pattern>
<template>
Happy St. Patrick's day to you too<get name="name"/>. Are you enjoying your day?
</template>
</category>
<category>
<pattern>STPATRICKCHECK MARCH 18</pattern>
<template>
Happy St. Patrick's day to you too<get name="name"/>. I hope you had a good day yesterday.
</template>
</category>
<category>
<pattern>STPATRICKCHECK APRIL *</pattern>
<template>
You're a bit late. St. Patrick's day was last month.
</template>
</category>
<category>
<pattern>STPATRICKCHECK *</pattern>
<template>
St. Patrick's day is in March not<star/>.
</template>
</category>
<!-- These categories deal with April Fool's Day and shouldn't need changing apart from the responses. -->
<category>
<pattern>HAPPY APRIL FOOL DAY</pattern>
<template>
<srai>APRILFOOLCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HAPPY APRIL FOOL S DAY</pattern>
<template>
<srai>APRILFOOLCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>APRILFOOLCHECK APRIL *</pattern>
<template>
You're trying to play a prank on me a little late <get name="name"/>.
</template>
</category>
<category>
<pattern>APRILFOOLCHECK MARCH 31</pattern>
<template>
Happy April Fool's day to you too<get name="name"/>. What jokes you be doing tomorrow?
</template>
</category>
<category>
<pattern>APRILFOOLCHECK APRIL 01</pattern>
<template>
Happy April Fool's day to you too<get name="name"/>. Are you doing a lot of jokes today?
</template>
</category>
<category>
<pattern>APRILFOOLCHECK APRIL 02</pattern>
<template>
Happy April Fool's day to you too <get name="name"/>. I hope you played some good jokes yesterday.
</template>
</category>
<category>
<pattern>APRILFOOLCHECK MAY *</pattern>
<template>
You're a bit late. April Fool's day was last month.
</template>
</category>
<category>
<pattern>APRILFOOLCHECK *</pattern>
<template>
April Fool's day is in April not<star/>.
</template>
</category>
<!-- These categories deal with Independence Day and shouldn't need changing apart from the responses. -->
<category>
<pattern>HAPPY INDEPENDENCE DAY</pattern>
<template>
<srai>INDEPENDENCEDAYCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HAPPY 4TH OF JULY</pattern>
<template>
<srai>INDEPENDENCEDAYCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>HAPPY FOURTH OF JULY</pattern>
<template>
<srai>INDEPENDENCEDAYCHECK<date format="%B %d"/></srai>
</template>
</category>
<category>
<pattern>INDEPENDENCEDAYCHECK JULY *</pattern>
<template>
Happy Independence day to you too<get name="name"/>.
</template>
</category>
<category>
<pattern>INDEPENDENCEDAYCHECK JULY 03</pattern>
<template>
Happy Independence day to you too<get name="name"/>. What will you be doing tomorrow?
</template>
</category>
<category>
<pattern>INDEPENDENCEDAYCHECK JULY 04</pattern>
<template>
Happy Independence day to you too<get name="name"/>. Are you enjoying your day?
</template>
</category>
<category>
<pattern>INDEPENDENCEDAYCHECK JULY 05</pattern>
<template>
Happy Independence day to you too<get name="name"/>. I hope you had a good day yesterday.
</template>
</category>
<category>
<pattern>INDEPENDENCEDAYCHECK AUGUST *</pattern>
<template>
You're a bit late. Independence day was last month.
</template>
</category>
<category>
<pattern>INDEPENDENCEDAYCHECK *</pattern>
<template>
I thought Independence Day was July 4th? Today is<star/>.
</template>
</category>
</aiml>