[alicebot-general] including a SRAI tag in to condition tags
Antonio Jimenez
superantonioxp at gmail.com
Sun Oct 21 00:46:35 PDT 2007
I'm using programD and what I'm triyng to achieve is because my BOT is
going to help the users to configure ther e-mails accounts, so, after
identify the type of e-mail program they are useing, the bot show
several screen shots and explanations about how to configure it, so,
on ecah one, I'm just expect the same kind of response of the user
such as
ok
go on
contine
etc.
in order to show the next screen shot an explanation, dependhing of
the <that/> is the way I'm controling which is the next
rigth now I have the same batch of <category> tags for each response
and screen, so, I would like to use the condition tag to make the code
shorter
for example
<category>
if the user response is OK
using the condition tag of the last that information
if <that/> = * ESTE LISTO so the <srai/> should be OEUS
if <that/> = * HAYA HECHO so the <srai/> should be OEUD
if <that/> = * PODER SEGUIR so the <srai/> should be OESDR
<category>
etc.
your code will make the AIML code shorter but I'd like to use some
thing like above, if it's possible.
Thanks
More information about the alicebot-general
mailing list