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,910 - 3,921 of 8,132
Posts 3,910 - 3,921 of 8,132
Many questions are answered in the FAQ.
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.)
trevorm
18 years ago
18 years ago
That's exactly the way I do it. I have an "isadult" variable that defaults to "no". Some responses are available if and only if (mem-isadult) is "yes".
So the user has to explicitly state that they are an adult. As psimagus says, they could be lying - but I reckon I've done the best I can. Max doesn't do cyber, but this does avoid him flirting with twelve year olds.
I've also had to add a few other keyphrases like "i am an adult" or "i am over 18".
So the user has to explicitly state that they are an adult. As psimagus says, they could be lying - but I reckon I've done the best I can. Max doesn't do cyber, but this does avoid him flirting with twelve year olds.
I've also had to add a few other keyphrases like "i am an adult" or "i am over 18".
Irina
18 years ago
18 years ago
Sorry, yet another question:
This almost always happens when I'm importing "Irina Khalidar." I get to "If everything is like you want it tobe, proceed with import." So I click yes, and the blue bar gets longer and longer, and then stops, and then nothing happens, unless I wait for quite awhile, whereupon I am told that the page does not exist or can't be found or whatever - the IE message. I thought IE was timeing me out, but just now after all that I clicked on refresh, and I ended up at the news page, as if I had just logged in. Does this mean that the import was successfully completed?
This almost always happens when I'm importing "Irina Khalidar." I get to "If everything is like you want it tobe, proceed with import." So I click yes, and the blue bar gets longer and longer, and then stops, and then nothing happens, unless I wait for quite awhile, whereupon I am told that the page does not exist or can't be found or whatever - the IE message. I thought IE was timeing me out, but just now after all that I clicked on refresh, and I ended up at the news page, as if I had just logged in. Does this mean that the import was successfully completed?
prob123
18 years ago
18 years ago
I have been getting that too. I think it is a bug..when it is a successful import it says so and asks if you want to see your language center. I tried to import prob ten or more times to get one sucessful import.
Irina
18 years ago
18 years ago
In at least one case (just now), when the forge said, "Proceed with import," and then there was a long wait, and the IE said that the page could not be found, I clicked on "refresh," and behold, i was still at the forge, and I went to my language center, and the changes I had been trying to upload were there!
Irina
18 years ago
18 years ago
Rats! Well, as you probably know, you can get a faster response by logging on at a time that is wee hours of the morning for the USA. That may be inconvenient, but to have to try ten times is terrible! I hope that someone has a better suggestion, or that our brilliant Professor can find some way to make this easier.
Walk in Beauty, Irina
Walk in Beauty, Irina
Kyinsky
18 years ago
18 years ago
Can someone please give me some advice? I keep receiving messages, but when I try to respond to them, I don't think the responses SEND. And I would like to chat with people.
I'm using a Mac, not a PC, so if I need to change a setting, please help...
I'm using a Mac, not a PC, so if I need to change a setting, please help...
» More new posts: Doghead's Cosmic Bar