The AI Engine

This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.

Posts 4,353 - 4,364 of 7,767

20 years ago #4353
my bot is in a pissed off mood and won't talk to me! how do I cheer it up?

20 years ago #4354
If the bot you chat with IS participating in a holiday then your bot will too.

20 years ago #4355
Colonel720: chat w/ it and give it a bunch of compliments

20 years ago #4356
using debug- sorry for the split post

20 years ago #4357
Ref. Msg 4351
Thanks ezzer. I know the (year) returns the year & (month) returns the current month. I'm looking for something that returns the current date.

Cheers.

20 years ago #4358
(dayofweek) but I haven't found the date either, I would love it, so if anybody know?

20 years ago #4359
I have mine set up manually to know the date, using chrono statements in AI script attached to the responses.

20 years ago #4360
Yeah, that was what I was afraid of. Oh well I suppose I'll have to do it the hard way

20 years ago #4361
Does anyone know if you can combine structures in Regular Expressions? I'm thinking about something like this:

^(if|when) (re)

Would that work?

20 years ago #4362
It should work.

20 years ago #4363
If I put an AI Script command at the end of a response, does it get executed before the response is processed?

20 years ago #4364
Eugene- If you us AI script to create a memory, the memory goes into effect after the response. However, chrono script and "if" statements like <?PF if (mem-hasdog) is "yes"; ?>, etc., are recognized before the response is processed, because if the condition isn't met, the response won't be chosen.


Posts 4,353 - 4,364 of 7,767

» More new posts: Doghead's Cosmic Bar