« Return to Thread: Problem with tag

Condition problem

by Ioannis Doumanis :: Rate this Message:

Reply to Author | View in Thread

Dear all,

Although my aiml code below compiles correctly in the AIML Pad, it does not
work. I believe that the problem is in the white spaces that I am using.
However I do not have any idea on how to fix it. Any help will be greatly
appreciated.


<category>
<pattern>* icon of crucified Christ</pattern>
<template>Would you like me to provide you with a detailed description of
its elements?</template>
</category>

<category>
<pattern>* </pattern>
<that>Would you like me to provide you with a more detailed description of
its elements</that>
<template><think><set name="answer"><star/> </set></think>
OK,<srai>ANS</srai>
</template>
</category>

<category>
<pattern>ANS</pattern>
<template>
<condition name="answer">
<li value="YES
PLEASE"><think><set_apadisi>POSITIVE</set_apadisi></think><srai>DES</srai></
li>
<li value="NO
THANKS"><think><set_apadisi>NEGATIVE</set_apadisi></think><srai>DES</srai></
li>
</condition>
</template>
</category>

<category>
<pattern>DES</pattern>
<template>
<condition name="apadisi" value="POSITIVE">Just take a close look of the
icon, while I provide you with a description. Even at its present form (a
mere copy of the original one), we can clearly distinguish the elements of
the icon. In front, the figure of Christ, with sorrowful, lowered head, is
remarkable both in each conception and execution. In the group to the right
there is a man wearing a golden garment beneath his blue cloak, and looking
very much like a Venetian doge. Thus the icon reflects the Venetian
character of the whole church. The blessed virgin, is on the left wearing a
blue cloak. Her sorrowful appearance is totally derived from the artistic
style of the Eastern Church. The icon is a remarkable piece of art and
certainly a valuable part of the heritage of Monemvasia. I truly hope that
the authorities will decide to return it to its rightful owners.
</condition>
<condition name="apadisi" value="NEGATIVE">please, let me know what would
you like to learn about this icon</condition>
</template>
</category>



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

_______________________________________________
alicebot-developer mailing list
alicebot-developer@...
http://list.alicebot.org/mailman/listinfo/alicebot-developer

 « Return to Thread: Problem with tag

LightInTheBox - Buy quality products at wholesale price