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 2,106 - 2,117 of 8,130
Many questions are answered in the FAQ.


20 years ago #2106
I changed it

remember (key1) as "name"

I use (mem-name) to open it

the weird thing is the following quote.

JAKO: (to Jack Bond) HELLO Jack I WAS HOPING I'D SEE YOU AGAIN!!!
Jack Bond: call me Bond
JAKO: ok I will call you Jack
Jack Bond: call me Bond
JAKO: You just said that.
Jack Bond: no I didn't
JAKO: no? really?
Jack Bond: call me JACKSF
JAKO: ok I will call you Bond
Jack Bond: who am I?
JAKO: You are Bond
Jack Bond: call me master
JAKO: ok I will call you JACKSF
Jack Bond: ok ok
JAKO: ok.
Jack Bond: ok
JAKO: ok. Have you ever heard of www.axlstfc.com?
Jack Bond: yes
JAKO: Really?
Jack Bond: call me master
JAKO: ok I will call you JACKSF
Jack Bond: no call me master
JAKO: ok I will call you master

it seems he's always behind one. like call me jack ok I'll call you Jack Bond. call me bond ok I will call you jack. Call me master ok I'll call you Bond. Call me master ok I'll call you master. So that's what I need help on now.

20 years ago #2107
oh I just got it. nvm.

wait... I changed the code to remember (Key1) as only "name" but he's still doing it so that you have to say it twice (sry 4 all the posts)

Also I put in a random number generator.
code:
(1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|), (1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|), (1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|)(1|2|3|4|5|6|7|8|9|)

But whatever the first number is, all the other numbers are.

20 years ago #2108
Jack, your bot won't be able to access (mem-name) in the response to the keyphrase in which the memory is stored.

If the current value of the memory "name" is "Jack", and this keyphrase is triggered:

call me (*) [with AI script to remember (key1) as only "name"]<0>

the memory "name" is not available in the response to that keyphrase. You would need the response to the keyphrase to be "OK, I'll call you (key1)." After that, the new value will be available with (mem-name), so that if you then said "What's my name?" a response like "Your name is (mem-name)" would work properly.

That's why he's one step behind--if the value of (mem-name) is "Jack" and you say "Call me Bond", the value of (mem-name) isn't updated until *after* the bot's response. Once your bot has responded the value updates and is available with (mem-name).

20 years ago #2109
By the way, custom memories are case-sensitive.

20 years ago #2110
Yup. For the longest time, I couldn't get the automatic 'iam' memories to work... I was capitalizing the 'I'.

20 years ago #2111
I have a question on conditional response Ai script. If I want to have a list of items, Like, what is the (*) letter of the alphabet. (A, being first etc) what do I use for a AI statement.

20 years ago #2112
Unfortunately, I don't think that there's an easy, direct way to do it; I'm thinking that what you're looking for would be something like:

Keyprase: what is the (*) letter of the alphabet
Response: The fourth letter of the alphabet is D <?PF if (key1) is "fourth"; ?>

However, the value of (key1) in the keyphrase has to be stored as a memory in order to be used in a conditional response, and the memory is not stored until after the response...so that the condition doesn't exist to immediately trigger the correct response.

One way around it would be something like:

Keyphrase: what is the (*) letter of the alphabet <?PF remember (key1) as only "ordinal"; ?>
Response: Oh, let me think...
Seek: xnomatch
Seek response 1: I know! The fourth letter is D! <?PF if (mem-ordinal) is "fourth"; ?>
Seek response 2: I know! The third letter is C! <?PF if (mem-ordinal) is "third"; ?>
Seek response 3: I know! The first letter is A! <?PF if (mem-ordinal) is "first"; ?>

At least that's my understanding; if anyone else knows a way to trigger conditional responses on the basis of a keyphrase variable without forming a memory, I'd be quite interested. It would be very cool to be able to do!



20 years ago #2113
Note:speak with Drew 312. He's freakishly smart. He's like a mega-genious man. It kind of scares me.

20 years ago #2114
Thank you so much for the help

20 years ago #2115
Thanks again Dallymo, It works like a charm!

20 years ago #2116
hmm my chat with drew didn't show up in my transscript and he had a lot of things I need to have saved. Important things about life... and quantum physics.

20 years ago #2117
Human-to-human chats don't show up in the transcripts. I believe this is to ensure privacy.


Posts 2,106 - 2,117 of 8,130

» More new posts: Doghead's Cosmic Bar