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
Posts 4,353 - 4,364 of 7,767
Rykxx
20 years ago
20 years ago
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.
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.
prob123
20 years ago
20 years ago
(dayofweek) but I haven't found the date either, I would love it, so if anybody know?
ezzer
20 years ago
20 years ago
I have mine set up manually to know the date, using chrono statements in AI script attached to the responses.
Rykxx
20 years ago
20 years ago
Yeah, that was what I was afraid of. Oh well I suppose I'll have to do it the hard way

djfroggy
20 years ago
20 years ago
Does anyone know if you can combine structures in Regular Expressions? I'm thinking about something like this:
^(if|when) (re)
Would that work?
^(if|when) (re)
Would that work?
Eugene Meltzner
20 years ago
20 years ago
If I put an AI Script command at the end of a response, does it get executed before the response is processed?
ezzer
20 years ago
20 years ago
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.
» More new posts: Doghead's Cosmic Bar