the use of that

Help
Lex
2009-02-11
2013-04-25
  • Lex
    Lex
    2009-02-11

    I hope anyone can help me out with the use of <that> </that> tags in combination with programE.

    It seems to me the <that> tags are ignored like in <category>
    <pattern>DO YOU KNOW FLIPPY</pattern>
    <template>Do you mean FLIPPY2000?</template>
    </category>

    <category>
    <pattern>YES</pattern>
    <that>Do you mean FLIPPY2000?</that>
    <template>
    He is a great botmaster because he well fast forward.skip skip. bladibla</template>
    </category>

    when i ask do you know flippy i got Do you mean FLIPPY2000?

    when answering yes i got nothing.

    has anyone had the same experience?

    thanks in advance

     
    • Anne Kootstra
      Anne Kootstra
      2009-02-11

      I think that there is a small error in your <that> .. </that>. Can you remove the ? from the line and try again. I'm sure that the <that> will then work for your bot.

      <category>
      <pattern>YES</pattern>
      <that>DO YOU MEAN FLIPPY2000</that>
      <template>
      He is a great botmaster because he well fast forward.skip skip. bladibla</template>
      </category>

       
      • Lex
        Lex
        2009-02-12

        Thanks a lot Anne.

        That works.

        Is there an explanation why I could not use marks like exclamation marks and question marks as my pandorabot - with a lot of <topic> and <that> tags - hosted on pandorabots.com doesn't seem to bother any of them.

        Anyway now you got me this far: Am I allowed to use all the tags mentioned in
        http://www.alicebot.org/documentation/aiml101.html in combination with programE or are there any restrictions?

        Does programE even handle the javascript tag somehow?

        Should I be aware of existing documentation on this?

        Thanks for all your hints

        Bert