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,360 - 4,371 of 7,767

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.

20 years ago #4365
Okay, cool. So I can make reference to an old memory while changing it.

20 years ago #4366
Yes.

20 years ago #4367
Can we look at the plugins that aren't listed in the plug-in page? The plug-in page lists only the ones that other people made, but not the main ones. I'm asking because Bianca says "I used to have a pet (animal)." But yesterday she said she had a "pet offspring".... kinda disturbing, even for her.

20 years ago #4368
The animal plugin is really messed up- Janet's fixation on animal right revealed this to me- I use animal2 to generate with and ((animal)|(animal2)) to catch referance with.

20 years ago #4369
In a seek, is there a way to refer to a word that came from a plugin?

20 years ago #4370
PLEASE SOMEONE CORRECT ME IF I AM WRONG

...but I do believe that you can use (firstkey1) (firstkey2) etc to refer to them.

20 years ago #4371
I think that's right.


Posts 4,360 - 4,371 of 7,767

» More new posts: Doghead's Cosmic Bar