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 3,901 - 3,912 of 8,132
Don't be impressed, it's quite trivial! How do you arrange to have "outside help"?
Turn on your chat messaging or drop me an email and I'll let you know.
Posts 3,901 - 3,912 of 8,132
Many questions are answered in the FAQ.
Irina
18 years ago
18 years ago
Don't be impressed, it's quite trivial! How do you arrange to have "outside help"?
Irina
18 years ago
18 years ago
Yet another question: I often have an 'xnomatch' seek with no competing seeks; my intent was to get the response
to that seek no matter what. But it often doesn't happen that way; I get a response to some relevant keyphrase, or to an xnone. Is there any way to assure that the response to the 'xnomatch' will be selected?
to that seek no matter what. But it often doesn't happen that way; I get a response to some relevant keyphrase, or to an xnone. Is there any way to assure that the response to the 'xnomatch' will be selected?
psimagus
18 years ago
18 years ago
Turn on your chat messaging or drop me an email and I'll let you know.
Ulrike
18 years ago
18 years ago
That sounds like a bug. I've had some missed seeks lately as well. Theoretically, xnomatch SHOULD always pick up if nothing else matches. The one exception seems to be goodbyes. Those tend to break out of the seek and go to xgoodbye.
stevej101
18 years ago
18 years ago
One thing I have not seen in the Book of AI is how to key my bot to respond differently to me then to others. As in to recognize me as Owner and others as friends.
lunar22
18 years ago
18 years ago
that's impossible I think, unless you use your own name as a key phrase, and use it while talking to him
Ulrike
18 years ago
18 years ago
No, all you need to do is have a default nickname memory in the AI script initialization box under the bot's settings
default (name) as "nickname";
Then put in{?PF if "nickname" is "stevej101"; ?} on statements you only want the bot to use with you, and {?PF if "nickname" is not "stevej101"; ?} on ones you don't. But use pointy brackets (which tend not to show up in the forums).
<?PF if "nickname" is "stevej101"; ?>
<?PF if "nickname" is not "stevej101"; ?>
Then put in
<?PF if "nickname" is "stevej101"; ?>
<?PF if "nickname" is not "stevej101"; ?>
Irina
18 years ago
18 years ago
Is it possible to use boolean combinations of conditions for "if" AIscript?
Related question: what would happen if I were to write something like this:
[response] <?PF if male; if (mem-age) > "18"; ?>
Would this response be available if and only if the guest is (supposedly) a male over the age of 18?
Walk in Beauty, irina
Related question: what would happen if I were to write something like this:
[response] <?PF if male; if (mem-age) > "18"; ?>
Would this response be available if and only if the guest is (supposedly) a male over the age of 18?
Walk in Beauty, irina
psimagus
18 years ago
18 years ago
I don't believe that's possible, but in this case you could use a mem to record "adult" or "minor", rather than the actual age.
keyphrases:
I am 1([01234567]) (years old|)$ (re)
I am ([123456789]) (years old|)$ (re)
any match to either of these indicates a minor.
I am 1([89]) (years old|)$ (re)
I am ([23456789])([0123456789]) (years old|)$ (re)
any match to either of these indicates an adult.
But it does rely on the human answering honestly - there's (sadly) no way to access the user data in their profiles (and indeed, no check they haven't lied there anyway.)
keyphrases:
any match to either of these indicates a minor.
I am ([23456789])([0123456789]) (years old|)$ (re)
any match to either of these indicates an adult.
But it does rely on the human answering honestly - there's (sadly) no way to access the user data in their profiles (and indeed, no check they haven't lied there anyway.)
» More new posts: Doghead's Cosmic Bar