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,940 - 5,951 of 7,766
(all bots hate their makers. I don't know why - that's just how it is.) but then they make it up to you 
billykid: who made you
Bildgesmythe: Prob123, is my bot maker, be patient, she's doing the best she can. she's blonde you know.
billykid: is she hot
Bildgesmythe: I think that 'hot' is an objective term..I will say gorgeous.
Posts 5,940 - 5,951 of 7,766
prob123
17 years ago
17 years ago

billykid: who made you
Bildgesmythe: Prob123, is my bot maker, be patient, she's doing the best she can. she's blonde you know.
billykid: is she hot
Bildgesmythe: I think that 'hot' is an objective term..I will say gorgeous.
The Clerk
17 years ago
17 years ago
Me again. Young Hamlet and Scrivener are coming along, but I'm still having trouble with memories. I've tried every way I could imagine, to get nowhere. They say, "Hello, memorycontents" or "Hello, (postkey)".
When I'm asking someone for information, how exactly would this go? I can't figure it out by the Book of AI and am losing all my mirth. If I want to get the person's name, for instance, what exactly do I put in the <?PF ?> part?
rem (mem-name) as only "postkey";
rem (mem-name) as only (postkey);
or what? Also, is there some secret way that I haven't figured out of telling which bot you're talking to without asking them? I know I can change their mem-name if they have one to "Eugene Meltzner" or "prob123", but are my bots supposed to have that information available already?
Thanks for any help. Sorry to post so much, but there is no excuse for my bots' calling people/bots "memoryname" or the like.
When I'm asking someone for information, how exactly would this go? I can't figure it out by the Book of AI and am losing all my mirth. If I want to get the person's name, for instance, what exactly do I put in the <?PF ?> part?
rem (mem-name) as only "postkey";
rem (mem-name) as only (postkey);
or what? Also, is there some secret way that I haven't figured out of telling which bot you're talking to without asking them? I know I can change their mem-name if they have one to "Eugene Meltzner" or "prob123", but are my bots supposed to have that information available already?
Thanks for any help. Sorry to post so much, but there is no excuse for my bots' calling people/bots "memoryname" or the like.

Ulrike
17 years ago
17 years ago
To store a name automatically, goto Settings and type
default (name) as "nickname"
in the AI script initialization box.
As far as memories in the language center, the "mem" part is only used to access the memories. And "postkey" has a special meaning. So code that would work is
<?PF rem "(name)" as only "nickname"; ?>
The thing after 'rem' is what the bot will store as a memory. To access the memory, use (mem-nickname).
in the AI script initialization box.
As far as memories in the language center, the "mem" part is only used to access the memories. And "postkey" has a special meaning. So code that would work is
The thing after 'rem' is what the bot will store as a memory. To access the memory, use (mem-nickname).
Ulrike
17 years ago
17 years ago
Btw, the spacing matters. There is a space between the ; and the ? up there, but NOT between ?PF.
ezzer
17 years ago
17 years ago
Ugh, can someone please tell me since I'm going crosseyed, do you see anything wrong with this chrono statement? It doesn't seem to be working.
<?PF chrono: week(M); ?>
<?PF chrono: week(M); ?>
Ulrike
17 years ago
17 years ago
I can't say if the responses are working, as I haven't played with the weekday script before, but the format looks correct. And the Sunday script I just added is working. I don't see any difference between what I used and what you put up:
<?PF chrono: week(M); ?>
<?PF chrono: week(M); ?>
ezzer
17 years ago
17 years ago
Thanks, ladies. Could it maybe be a problem with combo script? Some of mine have, for ex:
<?PF chrono: week(M); rem "blah" as "blablah"; ?>
I mean, that SHOULDN'T be a problem as far as I know, but I'm having Monday responses pop up any old day...and my script looks just like that...
<?PF chrono: week(M); rem "blah" as "blablah"; ?>
I mean, that SHOULDN'T be a problem as far as I know, but I'm having Monday responses pop up any old day...and my script looks just like that...
Ulrike
17 years ago
17 years ago
When I need two AI Scripts in the same response, I tend to put them in separate brackets. Mainly because it kept telling me there was an error in my formatting otherwise... But you could try that. *shrugs*
» More new posts: Doghead's Cosmic Bar