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


19 years ago #3458
LOL @ Psimagus. You are starting to sound more teacherly than I do...and yes, "teacherly" is so a word. Would I lie?

LM I think you can add anyone. I only add bots to see when they are on line (and then I rarely have time to chat with them). I'm sure you can add people, but I'm not sure what it means.

19 years ago #3459
LM - add who you like, fine with me.

19 years ago #3460
i was basicly asking for your permision
HIDDEN: Post content outside ratings limits.

19 years ago #3462
My (enemy) plugin has been working fine for some time, though when I initially used it, it had nothing to plug in...I'd imagine your bot would have to really hate anther bot/user (5 frowns, maybe?) for it to use their name.

19 years ago #3463
>> Really hate...
As I said, I'm trying to get it to work, and I've used the code above, and I have a "gentleman" in the bot's memory who is sitting permanently at -5 (nowhere to sink from there). So if it works, it must be one of those things you get to learn after the initiation?


19 years ago #3464
LOL @ Psimagus. You are starting to sound more teacherly than I do...and yes, "teacherly" is so a word. Would I lie?

Sorry, was I supposed to contest it? It seems to me an eminently regular adverb of perfectly acceptable construction. Though it's not a quality I've ever found myself particularly aspiring to

19 years ago #3465
I confess, BJ has no enemies.
But he does have a default memory default "(name)" as "nickname";. It's primarily to allow Guests to say "no, my name's Ermintrude" or whatever and have him remember it, but it works perfectly with name conditional scripts on responses like {?PF if (mem-nickname) is "InsertRapistName"; ?}
I have a number of responses that are targetted to individuals, and haven't had any noticeable problems doing it this way. The other responses for that keyphrase (unless they have their own if (mem-nickname)s
will require {?PF if (mem-nickname) is not "InsertRapistName"; ?}s to stop them being an available option for that individual.

I'm a little surprised if {?PF if (name) is "InsertRapistName"; ?} doesn't work, but if you say it doesn't... try adding a (mem-nickname)

19 years ago #3466
Yes, I have the default (name) as "nickname" and then I play with having a choice of nickname (Mikey) or name (Michael). Also don't have to worry about hitting (mem-nickname) when there isn't one. In spite of the Book, my experience has been that an empty variable does not cause the engine to skip the response.

I'm still struggling with (enemy) and (friend). I wrote a test KP: "Who reeks you?" so I could test ways of using (friend) and had a startling result. Someone said to the bot, "Do you like Julie Tinkerbell?" and the bot replied, MickMcA is my enemy. So "Do you like Julie Tinkerbell" {{{matches}}} "Who reeks you?" Give me a break!

Thanks for posting a bit of working code. The Book is hazy and often just wrong, so good code examples are a big help. I've actually copied examples out of the Book and had them not work. Maddening.

M

19 years ago #3467
THis is pretty fundamental but it's driving me buggy:

if (name) is (friend);

is "incorrectly formatted"? What am I missing? I get this complaint often with my if... is/is not phrases.

Thanks,
Mick

19 years ago #3468
I don't think you can test on (friend). What you might try is storing a memory "isfriend", with default value "no". Then have keyphrases that store "yes" as only "isfriend" if the bot's mood is high enough. Then you'd use "if (isfriend) is "yes";

19 years ago #3469
Ok, that makes sense. Thanks, Ulrike.
M


Posts 3,458 - 3,469 of 8,132

» More new posts: Doghead's Cosmic Bar