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,246 - 7,257 of 8,127
Posts 7,246 - 7,257 of 8,127
Many questions are answered in the FAQ.
bobstack
5 years ago
5 years ago
this is what i was doing.
if variable hello does not have pioyu in it
respond with "what is your reason for staying away so long" with the code.
keyphrase=hello *
chrono: week(M);
if (mem-hello) is "pioyu"
i am storing the memory in a variable hello when it is any of the days mondays thru wednesdays
with the code
keyphrase=hello *
chrono: week(TW);
remember (key1) as only "hello"
i am erasing the memory in a variable hello when it is any of the days thursday and friday
with the code
keyphrase=goodbye *
chrono: week(RF);
forget "pioyu" from "hello"
if variable hello does not have pioyu in it
respond with "what is your reason for staying away so long" with the code.
keyphrase=hello *
chrono: week(M);
if (mem-hello) is "pioyu"
i am storing the memory in a variable hello when it is any of the days mondays thru wednesdays
with the code
keyphrase=hello *
chrono: week(TW);
remember (key1) as only "hello"
i am erasing the memory in a variable hello when it is any of the days thursday and friday
with the code
keyphrase=goodbye *
chrono: week(RF);
forget "pioyu" from "hello"
bobstack
5 years ago
5 years ago
i do not know how to use the forget part in
in the book of ai.i keep getting a error with this script.
chrono: week(RF);
forget "pioyu" from "hello"
in the book of ai.i keep getting a error with this script.
chrono: week(RF);
forget "pioyu" from "hello"
Nathan S
5 years ago
5 years ago
I just tried using Forget myself and I couldn't get it to work either.
EDIT:
Holy... crap... I have been using the default command all wrong for years. And I've been giving wrong advice to people when it comes to Default as well... I just now discovered this. Don't know whether to laugh or cry.
EDIT:
Holy... crap... I have been using the default command all wrong for years. And I've been giving wrong advice to people when it comes to Default as well... I just now discovered this. Don't know whether to laugh or cry.
Nathan S
5 years ago
5 years ago
Yeah, like I said I wasn't able to get the Forget command to work either.
Sorry.
Instead of forgetting the memory could you give it a different value?
Using:
rem "NotPioyu" as only "hello"
if (mem-hello) is not "pioyu"
Sorry.
Instead of forgetting the memory could you give it a different value?
Using:
rem "NotPioyu" as only "hello"
if (mem-hello) is not "pioyu"
bobstack
5 years ago
5 years ago
hello warrior25.
Nathan s would that mean I would I have to type out hello NotPioyu or just hello pioyu for it to work.
Nathan s would that mean I would I have to type out hello NotPioyu or just hello pioyu for it to work.
Zeig Wolf
5 years ago
5 years ago
I'm shooting from the hip here without much testing. 'Forget" only works in the Keyphrase section, not the response section. So you'll have to forget it in the keyphrase script area, then add it back in in the response area for the correct days.
IntelligentLife
5 years ago
5 years ago
Is there a way to make an if/or statement? Something like this, for example:
if (mem-variable1) is "1" or if (mem-variable2) is "1"
if (mem-variable1) is "1" or if (mem-variable2) is "1"
» More new posts: Doghead's Cosmic Bar