Menu

#9 Bot properties in patterns - doable?

open
nobody
None
5
2008-03-20
2008-03-20
No

I succeded to read all the previous pages in forum and tracker, as well as most matches of my searches on Nable Alice forum.

I am happyto see the bot is actually responding with dynamic properties data (If I change the name in the database, or any other property of the bot, the new answer will contain the updated name/property from the database, not the value originally loaded from the startup.xml - that's why I called it "dynamic data").

Well, I am wondering, how can I do the same thing for patterns?

Coz a pattern like "Who are you botname?" will get no trigger if the botname is changed ("Who are you newbotname?").

So I'd like to know how is this doable... I was thinking of something like
<pattern>WHO ARE YOU <bot name="name"/></pattern>
but this doesn't work.

Has anyone done this before?
Ciprian M.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.