Hi, Carolin, and welcome.
I took the liberty of surrounding the AIML code in your last post with [code ] tags (minus the space, of course) to make the code more legible. Without those tags, the forum software does bad things to AIML code, such as making the <pattern> tag go missing.
Anyway, I have some suggestions regarding the AIML code you posted. First off, it’s not necessary to completely repeat everything the pizza-bot “says” in the <that> tag. You can use the * wildcard for most of it, so instead of this:
<that>VIETNAMESE CRAZE PIZZA HAS PULLED PORK VARIOUS KINDS OF AROMATIC HERBS AND VEGGIES TOPPED WITH A SPICY PEANUT SAUCE WOULD YOU LIKE TO ADD IT TO YOUR ORDER</that>
you could use this:
<that>* WOULD YOU LIKE TO ADD IT TO YOUR ORDER</that>
Secondly, in an effort to prevent infinite loops in the future, it’s best to use “custom” patterns for <srai> tags, such as I’ve used in the code below:
<category>
<pattern>YES</pattern>
<that>* WOULD YOU LIKE TO ADD IT TO YOUR ORDER</that>
<template><srai>XXYESXX</srai></template>
</category>
<category>
<pattern>XXYESXX</pattern>
<template>I have put that into your order <br/>Would you like another pizza?</template>
</category>
This makes the code more modular, and pretty well eliminates the chance of entering into an infinite loop.
Just out of curiosity, what are you using for your chatbot’s AIML interpreter?