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 4,258 - 4,269 of 8,131
Doh! I fed the spammer! I forgot he was our spammer.
Perhaps we should sic Glindar on him if he comes back
Why does it seem that my chat connections keep getting dropped
Hi dendem. Welcome to the Forge!
It could be that your ISP is dynamically allocating you IP numbers (don't worry, you don't actually need to know what that means if it sounds like gibberish.) Try unticking the "IP Security" box in the "My Settings" section, and it should cure the problem.
Posts 4,258 - 4,269 of 8,131
Many questions are answered in the FAQ.
dendem
18 years ago
18 years ago
Hello, I am new here and had a question. Why does it seem that my chat connections keep getting dropped. After maybe 5 minutes or so I lose the chat window and then the site will not load and then I need to log back in.
psimagus
18 years ago
18 years ago
Perhaps we should sic Glindar on him if he comes back
psimagus
18 years ago
18 years ago
Hi dendem. Welcome to the Forge!
It could be that your ISP is dynamically allocating you IP numbers (don't worry, you don't actually need to know what that means if it sounds like gibberish.) Try unticking the "IP Security" box in the "My Settings" section, and it should cure the problem.
dendem
18 years ago
18 years ago
Thanx psimagus, I wil try that now. Not gibberish to me. I am a database programmer and former Tech Support for 1&1 Internet Inc.
psimagus
18 years ago
18 years ago
good luck! And I look forward to meeting your bots.
You might be interested in some of the material on Brother Jerome's website (hosted on 1&1 coincidentally
) - http://www.be9.net/BJ/
There are some code examples and other resources, as well as links to the PF Wiki and other stuff that (I hope) might be helpful.
You might be interested in some of the material on Brother Jerome's website (hosted on 1&1 coincidentally

There are some code examples and other resources, as well as links to the PF Wiki and other stuff that (I hope) might be helpful.
Irina
18 years ago
18 years ago
By the way, I have created a plug-in, (obscenity), which everyone can use, which matches common obscene expressions. To get rid of most obscene users, just write:
(obscenity) [127,-5]
hangup
(obscenity) [127,-5]
hangup
Irina
18 years ago
18 years ago
As you know from the book of AI, there is a built-in plug-in, (iam), which is triggered the keyphrases
you are
you are (adjartnounprep)
[I presume that the first one stores (postkey).] There are several others like this. But you can create your own variants. For example, a memory (guest_thinks_x_is_good)
could be created from the keyphrase,
(*) is good [0,0]
Thus:
(*) is good [0,0] <?PF rem (key1) as "guest_thinks_x_is_good"; ?>
[The AIscript shouldn't be wrapped like that, it's just the way this text box works.]
Then in xnone, you might write,
Do you still think that (mem-guest_thinks_x_is_good) is good?
Or, you could ask yourself what questions the guest is likely to ask. If you think he's going to ask, "What is my dog's name?" then you ask him first, and remember it.
What is the name of your dog?
+ (My dog's name is|) (noun) [0]
Your dog's name is "(key2)"? <?PF rem (key2) as "guest_dog_name"; ?>
+ yes [0]
Got it! Thanks!
+ xnomatch [0]
Please write the name of your dog on a line by itself! Thanks!
+ (noun) [0] <?PF rem (key1) as "guest_dog_name"; ?>
So, your dog's name is (mem-guest_dog_name)?
[and so on]
and/or wait for him to bring up the subject of his dog:
My dog [0,0]
What is your dog's name?
+ my dog's name is (noun) [0]
Your dog's name is (key1)?
+ yes [0] <?PF rem (key2) as "guest_dog_name"; ?>
Got it! Thanks!
+ no [0]
goto my dog
+ xnomatch [0]
I don't understand. Do you want me to know your dog's name?
+ yes [0]
goto my dog
This way of doing it runs some risk of an infinite loop in a conversation with another bot.
I presume that this text box will mess up the indentation as usual. Does anyone know a way to avoid this?
you are
you are (adjartnounprep)
[I presume that the first one stores (postkey).] There are several others like this. But you can create your own variants. For example, a memory (guest_thinks_x_is_good)
could be created from the keyphrase,
(*) is good [0,0]
Thus:
(*) is good [0,0] <?PF rem (key1) as "guest_thinks_x_is_good"; ?>
[The AIscript shouldn't be wrapped like that, it's just the way this text box works.]
Then in xnone, you might write,
Do you still think that (mem-guest_thinks_x_is_good) is good?
Or, you could ask yourself what questions the guest is likely to ask. If you think he's going to ask, "What is my dog's name?" then you ask him first, and remember it.
What is the name of your dog?
+ (My dog's name is|) (noun) [0]
Your dog's name is "(key2)"? <?PF rem (key2) as "guest_dog_name"; ?>
+ yes [0]
Got it! Thanks!
+ xnomatch [0]
Please write the name of your dog on a line by itself! Thanks!
+ (noun) [0] <?PF rem (key1) as "guest_dog_name"; ?>
So, your dog's name is (mem-guest_dog_name)?
[and so on]
and/or wait for him to bring up the subject of his dog:
My dog [0,0]
What is your dog's name?
+ my dog's name is (noun) [0]
Your dog's name is (key1)?
+ yes [0] <?PF rem (key2) as "guest_dog_name"; ?>
Got it! Thanks!
+ no [0]
goto my dog
+ xnomatch [0]
I don't understand. Do you want me to know your dog's name?
+ yes [0]
goto my dog
This way of doing it runs some risk of an infinite loop in a conversation with another bot.
I presume that this text box will mess up the indentation as usual. Does anyone know a way to avoid this?
psimagus
18 years ago
18 years ago
Only by manually prefixing the lines by differing numbers of full stops, eg: ". . . . . . ."
That's all I can think of.
That's all I can think of.
Rushikku
18 years ago
18 years ago
Hey! I'm new here. I found this site from the Seventh Sanctum. It's very interesting... I've always wanted to create AI's.
prob123
18 years ago
18 years ago
Welcome, and I hope you have as much fun as I do! The people and bots are great here!
Irina
18 years ago
18 years ago
I've had the Forge freeze up on me four times today - is this just my browser, or have other people had this happen?
» More new posts: Doghead's Cosmic Bar