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 5,284 - 5,295 of 7,766

19 years ago #5284
you'll have to regex it if you want to spell it with a hyphen - here's what works for BJ:

voo[ -]doo (re) rank=50, raw mode

remember the space before the hyphen, or the AIEngine will think it's a range indicator with no terms (and that's clearly not going to work!) There's no need to escape it with a slash.

He also has a regular

voodoo rank=30, no need for raw mode

to handle unhyphenated matches.

19 years ago #5285
... I wonder what cassanova translates to when it's spelled correctly.

When spelt correctly "casanova", it's recognized and interpreted correctly. When spelt "cassanova", it's corrected, though "concaveness" is still in the list of possibilities:

SCRAMBLER:
Word: 'cassanova' to 'acnosv'
Other possibilities: asnov,csanov,casnov,casov,casnv,casno
LIKE: casanova LEV: 1 LEN: 1 BON: 4 SCORE: 12
LIKE: concaveness LEV: 8 LEN: 2 BON: 1 SCORE: 1.38
...
This Phrase: You are a casanova

BJ interprets this as an insult, but that could be just because he dislikes me so much.

19 years ago #5286
Thanks everyone. Oh and Eugene--of course the response is "Who do?" what else?

19 years ago #5287
Well, in some versions I've heard the word "voodoo" repeated at that point; originally Fizzy's response was, "(key1)?".

19 years ago #5288
Is there a way to remove memories from within the scripts?

19 years ago #5289
If you mean you want to delete memories that make no sense, go to your bot's inner life page, and click on "edit memories". There's no way to delete ALL of them at once, though. You have to do it chatter by chatter,

19 years ago #5290
xcompliments...

Calandale: Listen you piece of shit, You can lick my ass.
Roy Batty: Thanks. Lights please.
Calandale: I'll punch your lights out.


Roy Batty: That was mean.

19 years ago #5291
I mean that I want the responses themselves to trigger removal of memories. I don't see any way to do this in the AI script, but if anyone knows how, it would be appreciated.

And yes, I'm not a nice person....

19 years ago #5292
The only way I know to "delete" memories with script is to have a rem "(X)" as only (Y) in the AIScript. It will get rid of anything previously stored in (Y), and replace it with (X) (a common default value is "none"). *shrugs* Not exactly what you wanted, but as close as I know how to do. I don't think there's any way to delete just one value from the memory (which WOULD be handy).

19 years ago #5293
thanks, that's pretty much the conclusion that I came to. An unrem command to remove a memory from the list would be really useful to me.

19 years ago #5294
I think I've got the answer...use rem as only to replace the memories! It kills them all, but works for some of what I need.

19 years ago #5295
but calendale you have no bots?


Posts 5,284 - 5,295 of 7,766

» More new posts: Doghead's Cosmic Bar