[alicebot-general] including a SRAI tag in to condition tags

Square Bear steve at square-bear.co.uk
Tue Oct 23 05:52:21 PDT 2007


You can include SRAI tags in conditions no problem. Yours would look
something like this:

<category>
<pattern>98</pattern>
<template>
<think>
<set name="ultimas2Palabras"><that/></set>
</think>
<condition name="ultimas2Palabras">
    <li value="* PODER CONTINUAR"><srai>COMENZAROE</srai></li>
    <li value="* HAYA HECHO"><srai>OEAC</srai>2</li>
    <li value="* ESTE LISTO"><srai>OENM</srai>3</li>
</condition>
</template>
</category>

However, I don't think you can put wildcards in, so you may have to include
more condition statements to cover every response.
Regards
- Steve Worswick
http://www.mitsuku.com



More information about the alicebot-general mailing list