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


2 years ago #7885
Use AIScript. default "no" as "requirement", in the KP that's required to unlock the other one, have rem "yes" as only "requirement", and in the unlocked one have if (mem-requirement) is "yes"

2 years ago #7886
Unable to have more than one thing in the AIscript even if I use comma then space or enter, the AI script inizialitation doesn't allow more than one.

2 years ago #7887
You need to use a semi-colon, not a comma.

2 years ago #7888
When I type the AIscript for the keyphrase it says its incorrect

2 years ago #7889
It just gives an error message when I try doing it for keyphrase AI script

2 years ago #7890
ERROR: The following AIScript statement is incorrectly formatted or not valid for Keyphrases: "(mem-requirement) is "yes"". Please correct this and try again.

Also I don't understand? What keyphrase would be the locked one? There should be a locked one then the one that unlocks it and then the unlocked one? Plus how would I get them to activate each other without using seeks

2 years ago #7891
You missed the if statement on that one you just posted. if (mem-requirement) is "yes". So something like this (with an actual use for once, though matching with it again will cause an error):
[in init] def "chestStatus" as "closed"
open chest [0,0]
[tab] Chest opened <?PF once; rem "chestStatus" as only "open" ?>
look in chest [0,0]
[tab] The chest is locked! <?PF if (mem-chestStatus) is "closed" ?>
[tab] The chest contains nothing - someone's already emptied it! <?PF if (mem-chestStatus) is "open" ?>

The formatting is for working offline, with the tabs and <?PF ?> tags

2 years ago #7892
ERROR: The following AIScript statement is incorrectly formatted or not valid for Keyphrases: ""if (mem-requirement) is "yes"". Please correct this and try again.

Yeah didn't work either I tried it with a seek? Idk what to do

2 years ago #7893
Have you tried moving the AIScript to the response and having another response with if (mem-requirement) is not "yes"? Not done much with AIScript on KP/Seek (It looks like you have a hanging quote at the start, too, which might be your issue? The errors are a pain sometimes, but there's five quotes there, which doesn't add up).

2 years ago #7894
do it like this.
"if (mem-requirement) is "yes";

2 years ago #7895
How does Conversational AI help to improve the CX? Please share your thoughts about this topic.

2 years ago #7896
what do you mean by cx?


Posts 7,885 - 7,896 of 8,127

» More new posts: Doghead's Cosmic Bar