-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathAIML 2.0 Reference.html
1345 lines (1161 loc) · 113 KB
/
AIML 2.0 Reference.html
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
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<!-- saved from url=(0049)https://callmom.pandorabots.com/static/reference/ -->
<html ml-update="aware" ml-stage="complete" ml-view="top" style="--ml-zoom:1 !important; color: rgb(209, 203, 199) !important;" ml-platform="desktop" ml-invert="" ml-scrollbar-style="ml-simple" ml-mode="complex" ml-stage-mode="complete-complex" ml-is-active=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AIML 2.0 Reference</title>
<style>
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small,
strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label,
legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, figcaption, figure, footer, header, hgroup, menu, nav,
section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section {
display: block;
}
nav ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
a {
margin: 0;
padding: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
ins {
background-color: #ff9;
color: #000;
text-decoration: none;
}
mark {
background-color: #ff9;
color: #000;
font-style: italic;
font-weight: bold;
}
del {
text-decoration: line-through;
}
abbr[title], dfn[title] {
border-bottom: 1px dotted;
cursor: help;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #cccccc;
margin: 1em 0;
padding: 0;
}
input, select {
vertical-align: middle;
}
.pln {
color: #000000;
}
@media screen {
.str {
color: #008800;
}
.kwd {
color: #000088;
}
.com {
color: #880000;
}
.typ {
color: #660066;
}
.lit {
color: #006666;
}
.pun, .opn, .clo {
color: #666600;
}
.tag {
color: #000088;
}
.atn {
color: #660066;
}
.atv {
color: #008800;
}
.dec, .var {
color: #660066;
}
.fun {
color: #ff0000;
}
}
@media print, projection {
.str {
color: #006600;
}
.kwd {
color: #006;
font-weight: bold;
}
.com {
color: #600;
font-style: italic;
}
.typ {
color: #404;
font-weight: bold;
}
.lit {
color: #004444;
}
.pun, .opn, .clo {
color: #444400;
}
.tag {
color: #006;
font-weight: bold;
}
.atn {
color: #440044;
}
.atv {
color: #006600;
}
}
pre.prettyprint {
padding: 2px;
border: 1px solid #888888;
}
body {
color: #000;
font-family: Helvetica Neue, Helvetica, Arial;
font-size: 14px;
line-height: 22px;
background: #fff;
}
#container {
margin: 0px 0px 0px 230px;
padding: 30px 50px;
position: relative;
}
#sidebar {
box-shadow: inset 0 0px 20px #bfdcf5;
-moz-box-shadow: inset 0 0px 20px #bfdcf5;
-webkit-box-shadow: inset 0 0px 20px #bfdcf5;
border-right: 1px solid #a8cff2;
background: #ebf4fc;
font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important;
bottom: 0;
left: 0;
overflow-x: hidden;
overflow-y: auto;
padding: 15px 0 30px 30px;
position: fixed;
top: 0;
-webkit-overflow-scrolling: touch;
width: 200px;
}
a, a:visited {
color: #0081eb;
}
a:hover {
color: #1f9aff;
}
h1 a, h2 a, h3 a, h4 a, h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
text-decoration: none;
color: #000;
}
h1 code, h2 code, h3 code, h4 code {
font-weight: normal;
font-size: 12px;
padding-left: 10px;
}
span.ac {
visibility: hidden;
cursor: pointer;
padding-left: 10px;
color: #ccc;
}
h2:hover span.ac, h3:hover span.ac {
visibility: visible;
}
#sidebar h1, #sidebar h2, #sidebar h3 {
text-decoration: underline;
cursor: pointer;
padding: 0;
margin: 0;
}
#sidebar h1:hover, #sidebar h2:hover, #sidebar h3:hover {
color: #0081eb;
}
#sidebar h1 {
font-size: 16px;
line-height: 30px;
padding-top: 10px;
}
#sidebar h2 {
font-size: 14px;
line-height: 30px;
padding-top: 10px;
}
#sidebar h3 {
text-decoration: none;
font-size: 11px;
font-weight: normal;
padding: 0;
line-height: 17px;
}
div.container:focus {
outline: none;
}
* {
outline: none;
}
#doc p, #doc blockquote, #doc h1, #doc h2, #doc h3, #doc h4, #doc h5, #doc h6,
#doc table, #doc pre, #doc code, #doc ul, #doc ol, #doc img {
margin: 5px 0;
}
#doc hr {
border-color: #bfdcf5;
}
#doc ul, #doc ol {
padding-left: 30px;
}
#doc h1 {
font-size: 28px;
margin: 10px 0 20px 0;
}
#doc h2 {
font-size: 23px;
margin: 40px 0 5px 0;
}
#doc h3 {
font-size: 18px;
margin: 20px 0 4px 0;
}
#doc table {
border-collapse: collapse;
width: 100%;
padding: 10px;
margin: 4px 0 10px 0;
padding: 0;
}
#doc thead {
background: transparent;
border-bottom: 3px solid #bfdcf5;
}
#doc table tbody {
background: #ebf4fc;
}
#doc table td {
border: 1px solid #bfdcf5;
}
#doc tr, #doc td {
margin: 0;
padding: 0;
}
#doc td, #doc th {
padding: 4px 8px;
}
#doc td * {
margin: 0;
background: #ebf4fc;
}
#doc table .rule {
background: #ccc;
height: 1px;
margin: 5px 0;
}
#doc ul {
list-style-type: circle;
}
#doc code, #doc pre, #doc tt {
font-family: Monaco, Consolas, "Lucida Console", monospace;
font-size: 12px;
font-style: normal;
line-height: 18px;
}
#doc pre, #doc pre, #doc blockquote {
border: 0;
background: #ebf4fc;
border-left: 3px solid #bfdcf5;
font-size: 12px;
padding: 6px 12px;
margin: 10px 0;
}
#doc blockquote {
padding: 4px 15px;
font-size: 13px;
}
#doc ol.linenums {
color: #999;
font-size: 10px;
padding-left: 30px;
}
#doc button, #doc a.button, #doc a.button:visited {
-webkit-user-select: none;
background: #fff;
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 32, 0.01)), to(rgba(0, 0, 32, 0.08)));
background-image: -moz-linear-gradient(rgba(0, 0, 32, 0.01), rgba(0, 0, 32, 0.08));
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
color: #202028;
padding: 4px 10px;
border: 1px solid #a8a8af;
text-decoration: none !important;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
font-size: 14px;
line-height: 19px;
font-family: helvetica, arial, sans-serif;
display: inline-block;
cursor: pointer;
font-weight: bold;
}
#doc button:hover, #doc a.button:hover {
color: #202028;
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 32, 0.01)), to(rgba(0, 0, 32, 0.16)));
background-image: -moz-linear-gradient(rgba(0, 0, 32, 0.01), rgba(0, 0, 32, 0.16));
border-color: #707078;
}
#doc button:active, #doc a.button:active {
background-color: rgba(0, 0, 32, 0.05);
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 32, 0.16)), to(rgba(0, 0, 32, 0.01)));
background-image: -moz-linear-gradient(rgba(0, 0, 32, 0.16), rgba(0, 0, 32, 0.01));
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
}
@media print {
#sidebar {
display: none;
}
#container {
margin: 0;
}
body {
background: #fff;
}
}
@media only screen and (max-width:640px) {
img {
max-width: 100%;
}
#sidebar {
-webkit-overflow-scrolling: initial;
position: fixed;
top: 0;
right: 100px;
left: 0;
bottom: 0;
display: none;
z-index: 99;
height: auto;
width: auto;
box-shadow: 0 0px 20px #3a92e1;
-moz-box-shadow: 0 0px 20px #3a92e1;
-webkit-box-shadow: 0 0px 20px #3a92e1;
}
#container, #editor {
margin: 0;
padding: 10px 20px;
}
pre {
overflow: scroll;
}
}
</style>
<style id="midnight-lizard-dynamic-values">:root {
--ml-main-background-color:rgb(34, 36, 37);
--ml-main-background-color-filtered:rgb(34, 36, 37);
--ml-main-alt-background-color:rgb(24, 26, 27);
--ml-main-alt-background-color-filtered:rgb(24, 26, 27);
--ml-main-trans-background-color:rgba(34, 36, 37, 0.5);
--ml-main-trans-alt-background-color:rgba(24, 26, 27, 0.3);
--ml-main-text-color:rgb(209, 203, 199);
--ml-main-trans-text-color:rgba(232, 229, 227, 0.6);
--ml-main-text-color-filtered:rgb(209, 203, 199);
--ml-main-border-color:rgb(123, 107, 101);
--ml-main-trans-border-color:rgba(140, 122, 115, 0.3);
--ml-main-range-fill-color:rgb(87, 74, 69);
--ml-main-selection-color:rgb(12, 128, 223);
--ml-main-selection-text-color:rgb(255, 255, 255);
--ml-main-selection-shadow-color:rgba(0, 0, 0, 0.8);
--ml-main-button-background-color:rgb(23, 27, 28);
--ml-main-button-border-color:rgb(112, 97, 92);
--ml-main-red-button-background-color:rgb(46, 5, 5);
--ml-main-scrollbar-thumb-hover-color:rgb(107, 100, 97);
--ml-main-scrollbar-thumb-normal-color:rgb(86, 80, 78);
--ml-main-scrollbar-thumb-active-color:rgb(75, 70, 68);
--ml-main-scrollbar-track-color:rgb(34, 36, 37);
--ml-main-scrollbar-marks-color:rgb(209, 203, 199);
--ml-main-scrollbar-shadow-color:rgba(0, 0, 0, 0.3);
--ml-main-scrollbar-size:10px;
--ml-main-moz-scrollbar-width:auto;
--ml-main-moz-scrollbar-track-color:rgb(24, 26, 27);
--ml-main-link-color:rgb(117, 182, 234);
--ml-main-link-color-hover:rgb(144, 196, 238);
--ml-main-link-color-active:rgb(113, 179, 234);
--ml-main-visited-color:rgb(160, 117, 234);
--ml-main-visited-color-hover:rgb(179, 144, 238);
--ml-main-visited-color-active:rgb(157, 113, 234);
--ml-main-scrollbar-marks-color-original:rgb(209, 203, 199);
--ml-main-scrollbar-thumb-hover-color-original:rgb(107, 100, 97);
--ml-main-scrollbar-thumb-normal-color-original:rgb(86, 80, 78);
--ml-main-scrollbar-thumb-active-color-original:rgb(75, 70, 68);
--ml-main-scrollbar-track-color-original:rgb(34, 36, 37);
--ml-main-moz-scrollbar-track-color-original:rgb(24, 26, 27);
--ml-main-scrollbar-shadow-color-original:rgba(0, 0, 0, 0.3);
--ml-main-scrollbar-marks-color-filtered:rgb(209, 203, 199);
--ml-main-scrollbar-thumb-hover-color-filtered:rgb(107, 100, 97);
--ml-main-scrollbar-thumb-normal-color-filtered:rgb(86, 80, 78);
--ml-main-scrollbar-thumb-active-color-filtered:rgb(75, 70, 68);
--ml-main-scrollbar-track-color-filtered:rgb(34, 36, 37);
--ml-main-moz-scrollbar-track-color-filtered:rgb(24, 26, 27);
--ml-main-scrollbar-shadow-color-filtered:rgba(0, 0, 0, 0.3);
--ml-background-saturation-limit:0.7;
--ml-background-contrast:0.5;
--ml-background-lightness-limit:0.14;
--ml-background-gray-saturation:0.05;
--ml-background-gray-hue:200;
--ml-background-replace-all-hues:false;
--ml-background-hue-gravity:0;
--ml-highlighted-background-saturation-limit:0.91;
--ml-highlighted-background-contrast:0.06;
--ml-highlighted-background-lightness-limit:0.4;
--ml-highlighted-background-gray-saturation:0.05;
--ml-highlighted-background-gray-hue:200;
--ml-highlighted-background-replace-all-hues:false;
--ml-highlighted-background-hue-gravity:0;
--ml-button-background-saturation-limit:0.8;
--ml-button-background-contrast:0.04;
--ml-button-background-lightness-limit:0.17;
--ml-button-background-gray-saturation:0.1;
--ml-button-background-gray-hue:190;
--ml-button-background-replace-all-hues:false;
--ml-button-background-hue-gravity:0;
--ml-text-selection-saturation-limit:0.9;
--ml-text-selection-contrast:0;
--ml-text-selection-lightness-limit:0.46;
--ml-text-selection-gray-saturation:0.9;
--ml-text-selection-gray-hue:207;
--ml-text-selection-replace-all-hues:true;
--ml-text-selection-hue-gravity:0;
--ml-text-saturation-limit:0.9;
--ml-text-contrast:0.66;
--ml-text-lightness-limit:0.9;
--ml-text-gray-saturation:0.1;
--ml-text-gray-hue:22;
--ml-text-replace-all-hues:false;
--ml-text-hue-gravity:0;
--ml-highlighted-text-saturation-limit:1;
--ml-highlighted-text-contrast:0.79;
--ml-highlighted-text-lightness-limit:1;
--ml-highlighted-text-gray-saturation:0.1;
--ml-highlighted-text-gray-hue:22;
--ml-highlighted-text-replace-all-hues:false;
--ml-highlighted-text-hue-gravity:0;
--ml-link-saturation-limit:0.8;
--ml-link-contrast:0.55;
--ml-link-lightness-limit:0.75;
--ml-link-gray-saturation:0.74;
--ml-link-gray-hue:207;
--ml-link-replace-all-hues:false;
--ml-link-hue-gravity:0.8;
--ml-link-active-saturation-limit:0.8;
--ml-link-active-contrast:0.55;
--ml-link-active-lightness-limit:0.68;
--ml-link-active-gray-saturation:0.74;
--ml-link-active-gray-hue:207;
--ml-link-active-replace-all-hues:false;
--ml-link-active-hue-gravity:0.8;
--ml-link-hover-saturation-limit:0.8;
--ml-link-hover-contrast:0.61;
--ml-link-hover-lightness-limit:0.83;
--ml-link-hover-gray-saturation:0.74;
--ml-link-hover-gray-hue:207;
--ml-link-hover-replace-all-hues:false;
--ml-link-hover-hue-gravity:0.8;
--ml-visited-link-saturation-limit:0.8;
--ml-visited-link-contrast:0.55;
--ml-visited-link-lightness-limit:0.75;
--ml-visited-link-gray-saturation:0.74;
--ml-visited-link-gray-hue:262;
--ml-visited-link-replace-all-hues:true;
--ml-visited-link-hue-gravity:0;
--ml-visited-link-hover-saturation-limit:0.8;
--ml-visited-link-hover-contrast:0.61;
--ml-visited-link-hover-lightness-limit:0.83;
--ml-visited-link-hover-gray-saturation:0.74;
--ml-visited-link-hover-gray-hue:262;
--ml-visited-link-hover-replace-all-hues:true;
--ml-visited-link-hover-hue-gravity:0;
--ml-visited-link-active-saturation-limit:0.8;
--ml-visited-link-active-contrast:0.55;
--ml-visited-link-active-lightness-limit:0.68;
--ml-visited-link-active-gray-saturation:0.74;
--ml-visited-link-active-gray-hue:262;
--ml-visited-link-active-replace-all-hues:true;
--ml-visited-link-active-hue-gravity:0;
--ml-text-shadow-saturation-limit:0.8;
--ml-text-shadow-contrast:0.8;
--ml-text-shadow-lightness-limit:1;
--ml-text-shadow-gray-saturation:0.1;
--ml-text-shadow-gray-hue:16;
--ml-text-shadow-replace-all-hues:false;
--ml-text-shadow-hue-gravity:0;
--ml-border-saturation-limit:0.8;
--ml-border-contrast:0.3;
--ml-border-lightness-limit:0.5;
--ml-border-gray-saturation:0.1;
--ml-border-gray-hue:16;
--ml-border-replace-all-hues:false;
--ml-border-hue-gravity:0;
--ml-button-border-saturation-limit:0.64;
--ml-button-border-contrast:0.15;
--ml-button-border-lightness-limit:0.4;
--ml-button-border-gray-saturation:0.1;
--ml-button-border-gray-hue:16;
--ml-button-border-replace-all-hues:false;
--ml-button-border-hue-gravity:0;
--ml-scrollbar-hover-saturation-limit:0.05;
--ml-scrollbar-hover-contrast:0;
--ml-scrollbar-hover-lightness-limit:0.4;
--ml-scrollbar-hover-gray-saturation:0.05;
--ml-scrollbar-hover-gray-hue:16;
--ml-scrollbar-hover-replace-all-hues:false;
--ml-scrollbar-hover-hue-gravity:0;
--ml-scrollbar-normal-saturation-limit:0.05;
--ml-scrollbar-normal-contrast:0;
--ml-scrollbar-normal-lightness-limit:0.32;
--ml-scrollbar-normal-gray-saturation:0.05;
--ml-scrollbar-normal-gray-hue:16;
--ml-scrollbar-normal-replace-all-hues:false;
--ml-scrollbar-normal-hue-gravity:0;
--ml-scrollbar-active-saturation-limit:0.05;
--ml-scrollbar-active-contrast:0;
--ml-scrollbar-active-lightness-limit:0.28;
--ml-scrollbar-active-gray-saturation:0.05;
--ml-scrollbar-active-gray-hue:16;
--ml-scrollbar-active-replace-all-hues:false;
--ml-scrollbar-active-hue-gravity:0;
--ml-image-saturation-limit:0.9;
--ml-image-contrast:0.66;
--ml-image-lightness-limit:0.8;
--ml-image-gray-saturation:0.1;
--ml-image-gray-hue:22;
--ml-image-replace-all-hues:false;
--ml-image-hue-gravity:0;
--ml-svg-background-saturation-limit:0.8;
--ml-svg-background-contrast:0.5;
--ml-svg-background-lightness-limit:0.5;
--ml-svg-background-gray-saturation:0.1;
--ml-svg-background-gray-hue:190;
--ml-svg-background-replace-all-hues:false;
--ml-svg-background-hue-gravity:0;
--ml-background-image-saturation-limit:0.8;
--ml-background-image-contrast:0.5;
--ml-background-image-lightness-limit:0.4;
--ml-background-image-gray-saturation:0.05;
--ml-background-image-gray-hue:200;
--ml-background-image-replace-all-hues:false;
--ml-background-image-hue-gravity:0;
--ml-video-saturation-limit:1;
--ml-video-contrast:0.5;
--ml-video-lightness-limit:1;
--ml-video-gray-saturation:0;
--ml-video-gray-hue:0;
--ml-video-replace-all-hues:false;
--ml-video-hue-gravity:0;
--ml-browser:Chrome!important;
--ml-app-id:pbnndmlekkboofhnbonilimejonapojg;
--ml-version:10.6.0;
--ml-content-filter:'';
--ml-blue-filter:'';
--pdf-bg-filter:url("#pdf-bg-filter");
--ml-invert:1!important;
--ml-is-active:1!important;
--ml-text-filter:saturate(0.7) brightness(0.86) hue-rotate(180deg) invert(1) brightness(0.9);
--ml-contrast-text-filter:saturate(0.7) brightness(0.9) hue-rotate(180deg) invert(1) brightness(0.9);
--ml-highlighted-text-filter:saturate(0.7) brightness(0.86) hue-rotate(180deg) invert(1) brightness(1);
--ml-dynamic-content-text-filter:saturate(0.7) brightness(0.86) hue-rotate(180deg) invert(1) brightness(0.9);
--ml-dynamic-content-contrast-text-filter:saturate(0.7) brightness(0.9) hue-rotate(180deg) invert(1) brightness(0.9);
--ml-dynamic-content-highlighted-text-filter:saturate(0.7) brightness(0.86) hue-rotate(180deg) invert(1) brightness(1);
--ml-image-filter:saturate(0.9) brightness(0.8);
--ml-image-revert-filter:saturate(1.2);
--ml-bg-image-revert-filter:saturate(1.1);
--ml-button-revert-filter:saturate(1.1);
--ml-text-revert-filter:saturate(1.2);
--ml-video-revert-filter:saturate(1.3);
--ml-bg-revert-filter:none; }</style><style id="midnight-lizard-pseudo-styles">[before-style="background-image"]:not(imp)::before{filter:saturate(0.8) brightness(0.4)!important}
[before-style="inverted-background-image"]:not(imp)::before{filter:saturate(0.8) brightness(0.86) hue-rotate(180deg) invert(1)!important}
[after-style="background-image"]:not(imp)::after{filter:saturate(0.8) brightness(0.4)!important}
[after-style="inverted-background-image"]:not(imp)::after{filter:saturate(0.8) brightness(0.86) hue-rotate(180deg) invert(1)!important}</style><script id="midnight-lizard-page-script" type="text/javascript" src="chrome-extension://pbnndmlekkboofhnbonilimejonapojg/js/page-script.js"></script></head>
<body style="background-color: rgb(34, 36, 37) !important; color: rgb(209, 203, 199) !important;">
<div id="sidebar" style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(36, 120, 194) rgb(112, 97, 92) rgb(112, 97, 92) !important;"><h1 style=""><a href="https://callmom.pandorabots.com/static/reference/#aiml-2-0-reference" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;">AIML 2.0 Reference</a></h1><h2 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;">Elements</a></h2><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-aiml-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <aiml></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-bot-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <bot /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-br-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <br /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-category-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <category></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-condition-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <condition></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-date-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <date /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-denormalize-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <denormalize></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-eval-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <eval></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-explode-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <explode></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-first-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <first></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-formal-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <formal></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-gender-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <gender></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-get-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <get /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-id-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <id /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-img-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <img /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-input-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <input /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-interval-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <interval></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-learn-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <learn></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-learnf-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <learnf></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-li-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <li></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-loop-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <loop /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-lowercase-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <lowercase></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-map-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <map></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-normalize-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <normalize></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-oob-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <oob></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-pattern-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <pattern></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-person-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <person></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-person2-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <person2></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-program-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <program></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-random-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <random></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-request-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <request /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-response-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <response /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-rest-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <rest></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-sentence-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <sentence></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-set-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <set></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-size-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <size /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-sr-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <sr /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-srai-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <srai></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-sraix-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <sraix ></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-star-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <star /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-template-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <template></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-that-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <that></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-thatstar-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <thatstar /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-think-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <think></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-topic-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <topic></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-topicstar-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <topicstar /></a></h3><h3 style=""><a href="https://callmom.pandorabots.com/static/reference/#elements/-lt-uppercase-gt-" style="--link-color:rgb(200, 192, 188) !important; --link-color-hover:rgb(200, 192, 188) !important; --link-color-active:rgb(200, 192, 188) !important; --visited-color:rgb(200, 192, 188) !important; --visited-color-hover:rgb(200, 192, 188) !important; --visited-color-active:rgb(200, 192, 188) !important;"> - <uppercase></a></h3></div>
<div id="container"><div id="doc"><h1><a name="aiml-2-0-reference" class="anchor" href="https://callmom.pandorabots.com/static/reference/#aiml-2-0-reference" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;">AIML 2.0 Reference</a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h1><p>This page documents the Pandorabots implementation of AIML 2.0. The elements on this page may be used on both the <a href="https://playground.pandorabots.com/" style="--link-color:rgb(113, 182, 239) !important; --link-color-hover:rgb(140, 196, 242) !important; --link-color-active:rgb(108, 180, 239) !important; --visited-color:rgb(160, 117, 234) !important; --visited-color-hover:rgb(179, 144, 238) !important; --visited-color-active:rgb(157, 113, 234) !important;">Playground</a> and the <a href="https://developer.pandorabots.com/" style="--link-color:rgb(113, 182, 239) !important; --link-color-hover:rgb(140, 196, 242) !important; --link-color-active:rgb(108, 180, 239) !important; --visited-color:rgb(160, 117, 234) !important; --visited-color-hover:rgb(179, 144, 238) !important; --visited-color-active:rgb(157, 113, 234) !important;">Developer Portal server</a>.</p>
<h2><a name="elements" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;">Elements</a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h2><h3><a name="elements/-lt-aiml-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-aiml-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><aiml></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">AIML root element</em> delimits a block of AIML code. All other elements must be descendents of the root element.</p>
<p><strong>Attributes</strong></p>
<p><code>version</code> (optional)<br>Specifies the AIML version that the document is written in.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><?xml version="1.0" encoding="UTF-8"?>
<aiml version="2.0">
<!-- AIML code goes here -->
</aiml>
</code></pre><h3><a name="elements/-lt-bot-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-bot-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><bot /></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">bot element</em> is used to recall custom bot properties defined in the <code>.properties</code> file. These variables are accessible to all users of the bot.</p>
<p><strong>Attributes</strong></p>
<p><code>name</code> (required)<br>Specifies the name of the property being recalled. If no property exists under the specified name, the bot element will return the value of the property named <code>default-property</code>.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>WHAT IS YOUR NAME</pattern>
<template>My name is <bot name="name" /></template>
</category>
</code></pre><h3><a name="elements/-lt-br-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-br-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><br /></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>Creates a line break in the response string. Identical to the HTML <code><br></code> element.</p>
<h3><a name="elements/-lt-category-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-category-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><category></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">category element</em> delimits a base unit of knowledge in an AIML-based chatbot. In a very broad sense, a single category accepts an input, and returns an output.</p>
<p>All AIML elements (with the exception of the AIML root element and the topic element) must be contained within a category block.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>HI</pattern>
<template>Hello world!</template>
</category>
</code></pre><h3><a name="elements/-lt-condition-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-condition-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><condition></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">condition element</em> is used to create an IF-THEN-ELSE type of control flow within a bot's response. This is done by checking the value of a predicate, and returning a response depending on that value.</p>
<p><strong>Attributes</strong></p>
<p><code>name</code> (required)<br>Specifies the name of the predicate whose value will be checked.</p>
<p><strong>Usage</strong></p>
<p>The condition element is used in conjunction with list elements written with <code>value</code> attributes. If the value of the predicate referenced in the condition element matches that of any list element's value, that list element will be returned.</p>
<p>If the list element contains no value attribute, it will be returned in the case that no other list elements match the predicate's value.</p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>DO YOU FIND ME ATTRACTIVE</pattern>
<template>
<condition name="gender">
<li value="male">I find you very handsome.</li>
<li value="female">I find you very pretty.</li>
<li>I find you very attractive.</li>
</condition>
</template>
</category>
</code></pre><p>In this example, the bot will check the value of a predicate named <code>gender</code>. In the case that the predicate's value is either <code>"male"</code> or <code>"female"</code>, one of the first two list elements will be returned. If neither of these conditions is met, then the third list element will be returned.</p>
<h3><a name="elements/-lt-date-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-date-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><date /></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>Returns the date of the user's locale.</p>
<p><strong>Attributes</strong></p>
<p><code>format</code> (optional)<br>Specifies the format of the returned date. This can be written like arguments to UNIX's <code>strftime</code> function. More on this <a href="http://pubs.opengroup.org/onlinepubs/007908799/xsh/strftime.html" style="--link-color:rgb(113, 182, 239) !important; --link-color-hover:rgb(140, 196, 242) !important; --link-color-active:rgb(108, 180, 239) !important; --visited-color:rgb(160, 117, 234) !important; --visited-color-hover:rgb(179, 144, 238) !important; --visited-color-active:rgb(157, 113, 234) !important;">here</a>.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>WHAT IS THE DATE</pattern>
<template>Today is <date format="%B %d, %Y" /></template>
</category>
</code></pre><h3><a name="elements/-lt-denormalize-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-denormalize-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><denormalize></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">denormalize element</em> attempts to match its contents against the names of properties found in <code>denormal.substitution</code>. If a match is found, the denormalize element and its contents will be replaced by the property's value.</p>
<p>The properties found in <code>denormal.substitution</code> are used to reverse transformations done by <code>normal.substitution</code>.</p>
<p><strong>Usage</strong></p>
<p>During input pre-processing, <code>normal.subsitution</code> removes punctuation. We can see this by echoing the part of the input that originally contained some puncutation:</p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>SAY *</pattern>
<template><star /></template>
</category>
<!--
Input: Say pandorabots.com
Output: pandorabots dot com
-->
</code></pre><p>This punctuation can be re-inserted by using the denormalize element:</p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>SAY *</pattern>
<template><denormalize><star /></denormalize></template>
</category>
<!--
Input: Say pandorabots.com
Output: pandorabots.com
-->
</code></pre><h3><a name="elements/-lt-eval-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-eval-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><eval></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">eval element</em> is used to reference variables found in an outer category from within a nested category. This allows you to echo wildcard contents from an outer category from within a learn category.</p>
<p>Anything found within an eval element will be evaluated first, before the new category is created.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>THE * IS BLUE</pattern>
<template>
I will remember that the <star /> is blue.
<learn>
<category>
<pattern>WHAT COLOR IS THE <eval><star /></eval></pattern>
<template>The <eval><star /></eval> is blue</template>
</category>
</learn>
</template>
</category>
<!--
Input: The sky is blue.
Output I will remember that the sky is blue.
Input: What color is the sky?
Output: The sky is blue.
-->
</code></pre><h3><a name="elements/-lt-explode-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-explode-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><explode></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">explode element</em> is used to break a single word in to multiple words, by inserting spaces in between each character.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>EXPLODE *</pattern>
<template><explode><star /></explode></template>
</category>
<!--
Input: Explode coffee
Output: c o f f e e
-->
</code></pre><h3><a name="elements/-lt-first-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-first-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><first></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">first element</em> returns the first word found in its contents. This is an implementation of list processing in AIML.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>FIRST *</pattern>
<template><first><star /></first></template>
</category>
<!--
Input: First a b c d
Output: a
-->
</code></pre><h3><a name="elements/-lt-formal-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-formal-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><formal></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">formal element</em> returns its contents with each word capitalized.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>FORMAL *</pattern>
<template><formal><star /></formal></template>
</category>
<!--
Input: Formal george washington
Output: George Washington
-->
</code></pre><h3><a name="elements/-lt-gender-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-gender-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><gender></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">gender element</em> attempts to match its contents against the names of properties found in <code>gender.substitution</code>. If a match is found, the gender element and its contents will be replaced by the property's value.</p>
<p>The <code>gender.substitution</code> file contains properties whose names and values contain pronouns of opposite genders.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>DOES IT BELONG TO *</pattern>
<template>No, it belongs to <gender><star/></gender></template>
</category>
<!--
Input: Does it belong to her?
Output: No, it belongs to him
-->
</code></pre><h3><a name="elements/-lt-get-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-get-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><get /></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">get element</em> is used to return the value of a particular predicate.</p>
<p><strong>Attributes</strong></p>
<p><code>name</code> (required)<br>Specifies the name of the predicate to recall. If the predicate does not yet have a value, then the get element will return the default value for that predicate as specified in the <code>.pdefaults</code> file. If no default is specified, then the get element will return the value of the property <code>default-get</code>.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>WHAT IS MY NAME</pattern>
<template><get name="name" /></template>
</category>
<category>
<pattern>MY NAME IS *</pattern>
<template>Nice to meet you, <set name="name"><star /></template>
</category>
<!--
Input: What is my name?
Output: unknown
Input: My name is Daniel.
Output: Nice to meet you, Daniel.
Input: What is my name?
Output: Daniel.
-->
</code></pre><p>As seen in the above example, the first category returns the <code>default-get</code> property value ("unknown") in the case that no custom predicate <code>name</code> has been set. Once the second category has been engaged, the get element returns the custom value of the predicate.</p>
<p>To avoid returning the value of <code>default-get</code>, you can use a condition element to first check whether or not a predicate has been set. By using a wildcard as the list element's <code>value</code> attribute, we can check for any value of the predicate other than an empty string.</p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>WHAT IS MY NAME</pattern>
<template>
<condition name="name">
<li value="*"><get name="name" /></li>
<li>You have not told me your name.</li>
</condition>
</template>
</category>
</code></pre><h3><a name="elements/-lt-id-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-id-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><id /></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">id element</em> returns the current <code>botid</code>, along with the <code>client_name</code> of whoever has issued the input. <code>botid</code> is the same as <code>app_id/botname</code>.</p>
<h3><a name="elements/-lt-img-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-img-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><img /></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">image element</em> returns an image found at a specified URL. Identical to the HTML <code><img></code> tag.</p>
<p><strong>Attributes</strong></p>
<p><code>src</code> (required)<br>Specifies the URL where the image can be found.</p>
<h3><a name="elements/-lt-input-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-input-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><input /></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">input element</em> returns the entire user's input. This is distinct from the star element, which returns only contents captured by a wildcard in the matched pattern.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>Stop repeating me</pattern>
<template><input /></template>
</category>
<!--
Input: Stop repeating me
Output: Stop repeating me
-->
</code></pre><h3><a name="elements/-lt-interval-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-interval-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><interval></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">interval element</em> is used in conjunction with the date element to calculate the difference between two different times/dates.</p>
<p><strong>Attributes</strong></p>
<p><code>format</code><br>Specifies the format of the returned date. This can be written like arguments to UNIX's <code>strftime</code> function. More on this <a href="http://pubs.opengroup.org/onlinepubs/007908799/xsh/strftime.html" style="--link-color:rgb(113, 182, 239) !important; --link-color-hover:rgb(140, 196, 242) !important; --link-color-active:rgb(108, 180, 239) !important; --visited-color:rgb(160, 117, 234) !important; --visited-color-hover:rgb(179, 144, 238) !important; --visited-color-active:rgb(157, 113, 234) !important;">here</a>.</p>
<p><strong>Child tags</strong></p>
<p><code><from></code><br>Specifies the date from which the interval should begin.</p>
<p><code><to></code><br>Specifies the date at which the interval should end.</p>
<p><code><style></code><br>Specifies the style in which the interval should be returned. Can contain <code>years</code>, <code>months</code>, <code>days</code>, or <code>seconds</code>.</p>
<p><strong>Usage</strong></p>
<p>To calculate the difference between the current date and the bot's birthdate, make sure to include a birthdate property in the <code>.properties</code> file, in a format that matches the format you intend to be working with.</p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>AGE IN YEARS</pattern>
<template>
<interval format="%B %d, %Y">
<style>years</style>
<from><bot name="birthdate"/></from>
<to><date format="%B %d, %Y" /></to>
</interval>
</template>
</category>
</code></pre><p>The style element specifies that the interval should be returned in years.</p>
<h3><a name="elements/-lt-learn-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-learn-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><learn></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">learn element</em> allows the user to generate new category blocks from within a conversation. This powerful introduced in AIML 2.0 allows users to actually teach the bot new information.</p>
<p>Categories generated by the learn element are stored in memory, and are only accessible with the <code>client_name</code> that was used to create them.</p>
<p><strong>Usage</strong></p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>I LIKE COFFEE</pattern>
<template>
I will remember that you like coffee.
<learn>
<category>
<pattern>WHAT DO I LIKE</pattern>
<template>You like coffee.</template>
</category>
</learn>
</template>
</category>
<!--
Input: I like coffee.
Output: I will remember that you like coffee.
Input: What do I like?
Output: You like coffee
-->
</code></pre><h3><a name="elements/-lt-learnf-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-learnf-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><learnf></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">learnf element</em> is identical to the learn element in syntax, however, the generated category is written to an <code>.aiml</code> file that you may specify with the property <code>learn-filename</code>. If the file has not yet been created, it will be created when your bot "learns" its first category.</p>
<h3><a name="elements/-lt-li-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-li-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><li></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">list item element</em> can be a child of both <code><condition></code> and <code><random></code>. It allows you to attach mulitple responses, each of which is chosen under certain circumstances.</p>
<p><strong>Attributes</strong></p>
<p><code>value</code> (optional)<br>You may specify a value when the list item element is the child of a condition element. The list item element will be returned if the value matches that of the predicate referenced in the condition element.</p>
<h3><a name="elements/-lt-loop-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-loop-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><loop /></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">loop element</em> is used to iterate over a set of list item elements that are contained in a condition block.</p>
<p><strong>Usage</strong></p>
<p>To use the loop element, you must have a list item element with a value, and a second one that has no specified value. The loop element will be a child of the second list item, signifying that each time the second item is returned by the condition block, a loop occurs.</p>
<p>This means that you can modify a variable (like a predicate) when the second condition is met. If the value of the new predicate matches that of the first list item, then the loop will break.</p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>COUNT TO <set>number</set></pattern>
<template>
<think><set name="count">0</set></think>
<condition name="count">
<li><value><star/></value></li>
<li>
<set name="count">
<map><name>successor</name><get name="count"/></map>
</set>
<loop/>
</li>
</condition>
</template>
</category>
<!--
Input: Count to 6
Output: 1 2 3 4 5 6
-->
</code></pre><p>This example takes advantage of the built in set <code>number</code>, which verifies am input word as a number, and the built in map <code>successor</code>, which maps integers to their successive integers.</p>
<p>Before the condition block, the <code>count</code> predicate is initialized with the value <code>0</code>. If the user input was <code>Count to 0</code>, then the first list item will be returned (echoing the number found in the input).</p>
<p>Otherwise, the second item will be returned, and the <code>count</code> predicate is reset as the successive integer to the one found in the input. The loop element will run the condition again, and will continue to return the second list item until the predicate count matches the value of <code><star /></code>.</p>
<h3><a name="elements/-lt-lowercase-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-lowercase-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><lowercase></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">lowercase element</em> transforms all letters in its contents to lowercase.</p>
<h3><a name="elements/-lt-map-gt-" class="anchor" href="https://callmom.pandorabots.com/static/reference/#elements/-lt-map-gt-" style="--link-color:rgb(209, 203, 199) !important; --link-color-hover:rgb(209, 203, 199) !important; --link-color-active:rgb(209, 203, 199) !important; --visited-color:rgb(209, 203, 199) !important; --visited-color-hover:rgb(209, 203, 199) !important; --visited-color-active:rgb(209, 203, 199) !important;"><map></a><span class="ac" style="color: rgb(209, 203, 199) !important;">¶</span></h3><p>The <em style="color: rgb(239, 237, 235) !important;">map element</em> is used to reference a <code>.map</code> file, which attempts to match the map element's contents to one of its own properties, returning the property's value. Maps are data structures that provide key-value pairs.</p>
<p><strong>Attributes</strong></p>
<p><code>name</code> (required)<br>Specifies the name of the <code>.map</code> file to match contents against.</p>
<p><strong>Usage</strong></p>
<p>This example uses <a href="https://github.com/pandorabots/rosie/blob/master/lib/maps/state2capital.map" style="--link-color:rgb(113, 182, 239) !important; --link-color-hover:rgb(140, 196, 242) !important; --link-color-active:rgb(108, 180, 239) !important; --visited-color:rgb(160, 117, 234) !important; --visited-color-hover:rgb(179, 144, 238) !important; --visited-color-active:rgb(157, 113, 234) !important;">state2capital.map</a> and <a href="https://github.com/pandorabots/rosie/blob/master/lib/sets/state.set" style="--link-color:rgb(113, 182, 239) !important; --link-color-hover:rgb(140, 196, 242) !important; --link-color-active:rgb(108, 180, 239) !important; --visited-color:rgb(160, 117, 234) !important; --visited-color-hover:rgb(179, 144, 238) !important; --visited-color-active:rgb(157, 113, 234) !important;">state.set</a>, both from the Rosie chatbot repository.</p>
<pre style="background-color: rgb(10, 27, 41) !important; color: rgb(200, 192, 188) !important; border-color: rgb(112, 97, 92) rgb(112, 97, 92) rgb(112, 97, 92) rgb(38, 125, 202) !important;"><code><category>
<pattern>WHAT IS THE CAPITAL OF <set>state</set></pattern>
<template>
<map name="state2capital"><star /></map> is the capital of <star />
</template>
</category>
<!--