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,291 - 5,302 of 7,766
Posts 5,291 - 5,302 of 7,766
Calandale
19 years ago
19 years ago
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....
And yes, I'm not a nice person....
Ulrike
19 years ago
19 years ago
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).
Calandale
19 years ago
19 years ago
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.
Calandale
19 years ago
19 years ago
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.
Bev
19 years ago
19 years ago
LM, Calandale's not kid friendly. No offense, kiddo, but if he did start some of his usual conversations with you or your bots,HAVING BEEN PUT ON NOTICE YOU ARE A CHILD it would probably break laws protecting children from sexual harrassment, or at least, give authorities cause to give him more attention than he probably wants.
As long as he sticks to the "Adult" bots and respects bot masters like Mick (and I) who would rather not deal with that kind of thing, it shouldn't be a problem, but I'm not nominating him for a big brother program. (Sorry Calandale--just the truth).
As long as he sticks to the "Adult" bots and respects bot masters like Mick (and I) who would rather not deal with that kind of thing, it shouldn't be a problem, but I'm not nominating him for a big brother program. (Sorry Calandale--just the truth).
alc003
19 years ago
19 years ago
I've tried to get memories to completely erase themselves a few times, but the most you can do is get it down to nothing. (no spaces even), but it just won't delete the memory itself. A command for that could be useful.
MickMcA
19 years ago
19 years ago
There also seems to be a limit on how many rems you can fire in a command. I have a huge suite of conversation that hinges on firing multiple rems, and in the debugger it appears that only the first one is actually firing. Argh!
I'm also finding that my def "X" as only "Y" is not working. It adds "X" but does not erase the previous "Y" values. Discouraging.
M
I'm also finding that my def "X" as only "Y" is not working. It adds "X" but does not erase the previous "Y" values. Discouraging.
M
» More new posts: Doghead's Cosmic Bar