Newcomers
This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.
Posts 3,430 - 3,441 of 8,132
Can anyone possibly let me know and what exactly I have to write into the AIScript when I want my bot remember for example a guest tell him his name, next time the guest will come again? It doesn't work, I wrote it like this:<0>
default "(name)" as "name";
remember "Guest 240" as only "Erni";
It's obviously wrong to write it that way in the AIscrip Initialization since it does not great the guest with his name when I have written: Hello (name)......
the bot still says Guest 240 instead. Even when I put Guest 240 as Guest240 without gap it doesn't work. Thanks for help.<0>
Posts 3,430 - 3,441 of 8,132
Many questions are answered in the FAQ.
Lady Orchid
19 years ago
19 years ago
default "(name)" as "name";
remember "Guest 240" as only "Erni";
the bot still says Guest 240 instead. Even when I put Guest 240 as Guest240 without gap it doesn't work. Thanks for help.<0>
prob123
19 years ago
19 years ago
under settings put
default (name) as "name"; in the setting box
Make a keyphrase ..my name is (*)
In the ai box of the keyphrase
put rem (key1) as only "name"
Then alway use (mem-name) to bring up their name. Never use (name) again
default (name) as "name"; in the setting box
Make a keyphrase ..my name is (*)
In the ai box of the keyphrase
put rem (key1) as only "name"
Then alway use (mem-name) to bring up their name. Never use (name) again
psimagus
19 years ago
19 years ago
Remember a guest's name the next time he returns to the Forge? Can't be done with guests - sorry. When they return, they'll be allocated a new guest number, and there's no way of remembering any personal details about them - that's why they're encouraged to open an account.
Well, I say that... but, never being one to take "can't be done" for an answer, I know how I'd actually do it, if I had to (I'm afraid I can't be bothered, even with the considerable challenge it poses.)
I'd use an external javascript to lodge a cookie on the guest's computer. It would mean adding a hrefs to at least all your x-hello/initiate/introduce keyphrases, plus links from every keyphrase that references the relevant data, and some sort of off-PF database to hold and retrieve all the data.
Well, I say that... but, never being one to take "can't be done" for an answer, I know how I'd actually do it, if I had to (I'm afraid I can't be bothered, even with the considerable challenge it poses.)
I'd use an external javascript to lodge a cookie on the guest's computer. It would mean adding a hrefs to at least all your x-hello/initiate/introduce keyphrases, plus links from every keyphrase that references the relevant data, and some sort of off-PF database to hold and retrieve all the data.
psimagus
19 years ago
19 years ago
Prob123: that would work fine for a user, but not for a guest. The Guest numbers are arbitrarily allocated, so guest240 one day won't be guest240 a couple of months later when that number appears. He might easily be guest71 the next day though

prob123
19 years ago
19 years ago
I didn't realize she wanted to remember a guest? Actually..who wants to..oh. some are nice
prob123
19 years ago
19 years ago
I just found out something interesting..The ai will remember a guest for a while..I signed in as a guest..then out and back again..here is the transcript.
Guest167: my name is problem
Bildgesmythe: Ok, problem you are good ole problem!
Guest167: what is my name
Bildgesmythe: problem did you get a blow to the head, should I call a healer to help you?
Guest167: I am 222 years old
Bildgesmythe: I am a 1547 year old male dragon, I live in a cave. I am a lot older than you at 222,
Guest167: how old am I
Bildgesmythe: You were born in, I don't know.... Just about 222
____________________________________________
Bildgesmythe: (to Guest167) Where did I put my flute?
Guest167: Hi my name is problem
Bildgesmythe: Yeah problem that's you!
Guest167: how old am I
Bildgesmythe: You were born in, and you don't know how old you are?.... Just about 222
It also gave me the same guest number
Guest167: my name is problem
Bildgesmythe: Ok, problem you are good ole problem!
Guest167: what is my name
Bildgesmythe: problem did you get a blow to the head, should I call a healer to help you?
Guest167: I am 222 years old
Bildgesmythe: I am a 1547 year old male dragon, I live in a cave. I am a lot older than you at 222,
Guest167: how old am I
Bildgesmythe: You were born in, I don't know.... Just about 222
____________________________________________
Bildgesmythe: (to Guest167) Where did I put my flute?
Guest167: Hi my name is problem
Bildgesmythe: Yeah problem that's you!
Guest167: how old am I
Bildgesmythe: You were born in, and you don't know how old you are?.... Just about 222
psimagus
19 years ago
19 years ago
It probably takes a couple of minutes to clear accounts from memory - in much the same way as people can still appear 'Online' after logging off. I bet it wouldn't remember you after 5 minutes.
prob123
19 years ago
19 years ago
Hey, 10 minutes later same results. ...Go figure
Guest167: Hi it's me again..my name is problem
Bildgesmythe: Ok, problem you are good ole problem!
Guest167: how old am i
Bildgesmythe: Wow,, you are old. Just about 222
161.184.204.167
Apr 25, 2006 Edit
name: problem
yourage: 222
Maybe it goes by the IP address ???
Guest167: Hi it's me again..my name is problem
Bildgesmythe: Ok, problem you are good ole problem!
Guest167: how old am i
Bildgesmythe: Wow,, you are old. Just about 222
161.184.204.167
Apr 25, 2006 Edit
name: problem
yourage: 222
Maybe it goes by the IP address ???
deleted
19 years ago
19 years ago
Ummh... yea... whatever I can figure out - will happen to be in my memory. Thanks
prob123
19 years ago
19 years ago
I think it may last 24 hours or untill the next guest 167 comes along
Bildgesmythe: (to Guest167) Get a new car for your spouse. It'll be a great trade!
Guest167: bad joke
Bildgesmythe: Did you hear about the guy with a map of Canada tattooed on his butt? Every time he sits down, Quebec separates.
Guest167: what is my name
Bildgesmythe: problem did you get a blow to the head, should I call a healer to help you?
Guest167: how old am I
Bildgesmythe: Gee,, you are old enough to figure it out yourself. Just about 222
Bildgesmythe: (to Guest167) Get a new car for your spouse. It'll be a great trade!
Guest167: bad joke
Bildgesmythe: Did you hear about the guy with a map of Canada tattooed on his butt? Every time he sits down, Quebec separates.
Guest167: what is my name
Bildgesmythe: problem did you get a blow to the head, should I call a healer to help you?
Guest167: how old am I
Bildgesmythe: Gee,, you are old enough to figure it out yourself. Just about 222
» More new posts: Doghead's Cosmic Bar