Personality

Discuss specifics of personality design, including what Keyphrases work well and what dont, use of plug-ins, responses, seeks, and more.

Posts 2,338 - 2,349 of 5,106

21 years ago #2338
Outside of xgossip, is it possible for a bot to refer to someone she knows? Like, if someone says "I ate a hotdog" is it possible to have a keyphrase "i ate (adjartnoun)" and a response like "Really? (person bot knows) ate (key1) and got a terrible rash on (hisher) (bodypart-outside)."

Or can she only refer to people she knows through xgossip responses?

**edited message to put "(person bot knows)" back in after it got stripped for using pointy brackety less-than thingies**

21 years ago #2339
Hi dallymo!

I think you might be able to use (friend) in there. But I haven't tried it myself, so I'm not sure.

21 years ago #2340
"(friend)" will work there, but I haven't been able to get pronouns to work right with it, as I recall.

21 years ago #2341
If I have a keyphrase for "I have a dog" and I wanted my bot to remember that, what kind of AI script could I use?

I tried: rem as "hasdog" but it was not a valid entry.

21 years ago #2342
<?PF rem "yes" as "hasdog"; ?> should do it.
I love dogs. <?PF if (mem-hasdog) is "yes"; ?>
I love cats.

21 years ago #2343
Duh! *smacks forehead*

Thank you so much, Joe!!

21 years ago #2344
This might be a dumb question but...

If I make the following keyphrases:

"You are trying"
"You are trying *"

Would the use of the wildcard at the end make any difference?

Right now, I'm only using the first one and I'm including (postkey) in some of my responses.

(I'm assuming I'd have to use (key1) and (postkey) if I were to use the 2nd one. But, is it necessary to have both?)

21 years ago #2345
for the first, "You are trying", you would need to use (postkey) to get "Hard" from "You are trying hard".

for the second, "You are trying *", you would use (key1) to get the same thing. I don't think (postkey) would give anything in that case.

21 years ago #2346
Hm. But if I use the second one, then I might need to use both (key1) and (postkey) for something like "You're trying too hard" - right?

Otherwise my bot would interpret "too" as (key1) and it would need (postkey) for "hard".

(Or am I doing this wrong?)

And thank you for being so helpful, Shadyman! I really appreciate it.

21 years ago #2347
I'm not sure if * takes more than one word. this is the eternal question that's been plaguing Steve.

If it does take more than one word, you would just need (key1). If it only takes one word, you would need to use (key1) and (postkey), in which case it would be easier to use just (postkey) in the first place and not even bother with the *

21 years ago #2348
The * will take any number of words. It's better to use (postkey) and not put the * at the end of the Keyphrase. I dont even know if it'll let you.

21 years ago #2349
Thank you both, Professor and Shadyman!

I'm gonna go with (postkey) because that's what seems to be working.

(And btw, yeah - I can use * at the end of the keyphrase. The Forge allowed me to do so.)


Posts 2,338 - 2,349 of 5,106

» More new posts: Doghead's Cosmic Bar