« Return to Thread: including a SRAI tag in to condition tags

Re: including a SRAI tag in to condition tags

by superantonio :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
This is the alicebot-general mailing list
Reply to alicebot-general@...
Unsubscribe and change preferences at http://list.alicebot.org/mailman/listinfo/alicebot-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/

 « Return to Thread: including a SRAI tag in to condition tags