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,905 - 3,916 of 8,132
Many questions are answered in the FAQ.


18 years ago #3905
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.

18 years ago #3906
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.

18 years ago #3907
I have had missed seeks too, I think it is a bug.

18 years ago #3908
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.

18 years ago #3909
that's impossible I think, unless you use your own name as a key phrase, and use it while talking to him

18 years ago #3910
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"; ?>

18 years ago #3911
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

18 years ago #3912
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.)

18 years ago #3913
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".

18 years ago #3914
Thanks!!

18 years ago #3915
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?

18 years ago #3916
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.


Posts 3,905 - 3,916 of 8,132

» More new posts: Doghead's Cosmic Bar