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,463 - 3,474 of 8,130
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
if (name) is (friend);
is "incorrectly formatted"?
A little clarification: I think the problem here is that(friend) is a plugin, not a memory - despite being similarly expressed with brackets, conditional AI only works with memories and a limited set of specific other variables (eg: chrono). It doesn't work with standard plugins, so you should remember these to a memory if you want to work with them this way.
Posts 3,463 - 3,474 of 8,130
Many questions are answered in the FAQ.
MickMcA
19 years ago
19 years ago
>> 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?
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?
psimagus
19 years ago
19 years ago
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

psimagus
19 years ago
19 years ago
I confess, BJ has no enemies.
But he does have a default memorydefault "(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 ownif (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)
But he does have a default memory
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
will require
I'm a little surprised if
MickMcA
19 years ago
19 years ago
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
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
MickMcA
19 years ago
19 years ago
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
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
Ulrike
19 years ago
19 years ago
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";
MickMcA
19 years ago
19 years ago
>I don't think you can test on (friend).
And, BTW, I'm back to my question. How do bots "know" how they feel about you? The only things I can find are "Emotion" ratings which clearly do not have any meaning about the bots feelings toward the "friend." Julie T. obviously changes her feelings about you and knows it. How?
And, BTW, I'm back to my question. How do bots "know" how they feel about you? The only things I can find are "Emotion" ratings which clearly do not have any meaning about the bots feelings toward the "friend." Julie T. obviously changes her feelings about you and knows it. How?
MickMcA
19 years ago
19 years ago
THe HANGUP code has an odd problem. Even with Compound Sentences off, it can pick up a conversation continuer from xnone (or some other location), and not only does that abort the HANGUP, it displays (HANGUP.. How are you?) and takes you back into the conversational stream. The HANGUP I'm working on is inside a closed loop that eventually triggers it. This problem defeats the primary purpose of the loop, which is to isolate a noxious user and discourage him by responding to everything with the same responses.
As near as I can tell, the Compound Sentences checkbox and the Bot Holidays checkboxes do not work.
As near as I can tell, the Compound Sentences checkbox and the Bot Holidays checkboxes do not work.
psimagus
19 years ago
19 years ago
"HANGUP" has to be the only text in the response, so you can't anything else. Check you haven't been putting any punctuation (like a full stop) in, since this might be causing the problem.
Unchecking the compound sentences box works fine for me anyway.
I'm afraid even with bot holidays set to 'off', if the other user has them 'on' your bot will participate. It only works when 2 bots or bot and user both have them set to 'off'. That can be a little annoying
Unchecking the compound sentences box works fine for me anyway.
I'm afraid even with bot holidays set to 'off', if the other user has them 'on' your bot will participate. It only works when 2 bots or bot and user both have them set to 'off'. That can be a little annoying

psimagus
19 years ago
19 years ago
is "incorrectly formatted"?
A little clarification: I think the problem here is that
MickMcA
19 years ago
19 years ago
>> (friend) is a plugin, not a memory
Ah. So how would you reframe
if (name) is (friend);
the intended effect? I'm out of ideas.
I'll check for the period after HANGUP, but I've done that before, and not found any.
M
Ah. So how would you reframe
if (name) is (friend);
the intended effect? I'm out of ideas.
I'll check for the period after HANGUP, but I've done that before, and not found any.
M
» More new posts: Doghead's Cosmic Bar