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 3,941 - 3,952 of 7,767

20 years ago #3941
Hi LapCat,
Strangely enough, Goto statements just don’t work in xnone.
I use responses, witch can be an introduction to the subject or simply some general Smalltalk - with most of the time only a xnomatch seek.
For example:

Let's talk about something else. <?PF if (mem-lover) is "no"; ?>
        + xnomatch [0]
        goto whateveryouwant topic

It’s a good idea to place a script after the response, as in my example, so the goto is only used in certain circumstances. Nothing prevents you from placing several lines with goto statements in the seeks.

20 years ago #3942
Corwin, whaddya mean 'peroxide fondue' has no chance of occuring in a conversation?

20 years ago #3943
Thanks, Patricia. That's a great way to steer the conversation where I'd like it to go. *runs off to reevaluate xnone responses.*

20 years ago #3944
I eat peroxide fondue for breakfast whenever I can get it!

20 years ago #3945
"With those long rods poking out of her platinum beehive, she looked like some sort of nightmare of peroxide fondue."

20 years ago #3946
factory mutilates except assiduous melon island
cat platypus abuses then someone struggles

(Random poetry generator, anyone?)

20 years ago #3947
(looks at above)Oh geeze, I need to add a lot of key phrases!
--
Uhm, this may be better posted in Newcomers but Hell just flame me to death. I keep having a particular response chosen out of xnone disproportionately to all the others. Is there any way to give just a single response a minus ranking?

20 years ago #3948
Yes, put a "1" there, at least it will only get used once, or give it a peculiar emotional value, highest or lowest

20 years ago #3949
Theres a thought, cool thanks. No way to just tilt the odds though, eh?

20 years ago #3950
...if it isn't that good of a response in the first place, replace it with your favourite xnone... or make sure xnones are hardly ever hit, by maKing key phrases (verb), (noun) and (adj)... gives you basically 120 extra xnones

20 years ago #3951
Okay- thats an interesting angle. Thanks. I will do that.

20 years ago #3952
hey people, i have a question towards regular expressions, just for testing, i wanted a keyphrase like this "^you (*ed) me.$ (re)" meaning [if someone say "you *anyword that ends in ed* me" then call the responses]

but it isnt working, and that tutorial on (re)s was so confusing... can someone lend me a hand?

thanks


Posts 3,941 - 3,952 of 7,767

» More new posts: Doghead's Cosmic Bar