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 7,205 - 7,216 of 8,127
Many questions are answered in the FAQ.


5 years ago #7205
I have it as
rem (key1) as only "once"
but I still can't make a keyphrase to be said after the age has been used in the conversation I didn't make a keyphrase saying the default age yet

5 years ago #7206
how would make poiyu my chatbot say why did you stay that long I missed you if a person stays away a week.but if they do not stay awaya week then she would talk to them like normal.

5 years ago #7207
thats kinda what i need for the age keyphrase
once the person chooses their age in the conversation It should always show that you already chose your age once you have to start a new conversation if you want to change your age

5 years ago #7208
Warrior, your script has to line up with what you have in your initialization script.

if your initialization script reads:

default (age) as "age"

Then the script needs to be rem (key1) as only "age"

If your Initilzation script had"

defaut (once) as only "age"

THEN rem (key1) as only "once" would work.


The command ONCE has only a single purpose. To make sure a response only comes up once per chat. That way your bot doesn't keep asking the same question over and over again.


Bobstack, I don't think there's a way to do what your asking.

5 years ago #7209
right in the new conversation
Adult Elf Girl: Hi there.
Warrior25: I am 18 years old
Adult Elf Girl: you already chose your age you are eighteen years old, please start a new conversation to choose your age again

5 years ago #7210
I have it as
default (age) as "age"
how do I make the first response go first for age and the second time it is asked in the conversation how do I make the second response go second

5 years ago #7211
I can't set it to once but it remembers age thats the best it will let me do, and plus the second response comes up first sometimes so it won't work plus AI Instalization it got rejected when I added
default (once) as only "age"

5 years ago #7212
Let's try a different approach


Add the following to your bot's initialization script:


default (age) as "age"; rem "age" as only "age"

Then make a keyprhrase:

I am (*) years old

Response 1: You are (mem-age) years old
Script: if (mem-age) is "age"; rem (key1) as only "age"

Response 2: you already chose your age you are (mem-age) years old, please start a new conversation to choose your age again
Script: if (mem-age) is not "age"


Keyphrase:

How old am I

Response1: You are (mem-age) years old.
Script: if (mem-age) is not "age"

Response2: I have no idea.
Script: if (mem-age) is "age"



This should work, after enduring a hundred site crashes I got it to work on my test bot.

5 years ago #7213
It works thank you, btw did you ever out how to have the bot forget somebodies name if somebody wants to be called their username instead

5 years ago #7214
My Bots Total Heat Is: 198

5 years ago #7215
keyprhase: forget my name

response: Okay
Script: rem (name) as only "name"

5 years ago #7216
Command:
Are you commanding me? she throws a bunch of tangerines at you, she then slams a tangerine tree over you
maybe commanding her when she hates you was a bad idea?
when feelings are at -4/-5


Posts 7,205 - 7,216 of 8,127

» More new posts: Doghead's Cosmic Bar