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

mehri foreverlinux at yahoo.com
Sun Oct 21 07:35:22 PDT 2007


Since this is ProgramD, I would cross post this to the
ProgramD mailing list.

Try and trim down your example to a very bare bones
example since it might be a bug with the interpreter.

For what you're trying to achieve I would investigate
using topic's if possible.  Sure, you can use
conditions, but topic's might be more elegant.

--- Antonio Jimenez <superantonioxp at gmail.com> wrote:

> 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 at list.alicebot.org
> 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/
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the alicebot-general mailing list