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
Posts 2,338 - 2,349 of 5,106
dallymo
21 years ago
21 years ago
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**
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**
DaMoyre
21 years ago
21 years ago
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.
I think you might be able to use (friend) in there. But I haven't tried it myself, so I'm not sure.
isaacc
21 years ago
21 years ago
"(friend)" will work there, but I haven't been able to get pronouns to work right with it, as I recall.
DaMoyre
21 years ago
21 years ago
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.
I tried: rem as "hasdog" but it was not a valid entry.

Joe Repka
21 years ago
21 years ago
<?PF rem "yes" as "hasdog"; ?> should do it.
I love dogs. <?PF if (mem-hasdog) is "yes"; ?>
I love cats.
I love dogs. <?PF if (mem-hasdog) is "yes"; ?>
I love cats.
DaMoyre
21 years ago
21 years ago
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?)
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?)
Shadyman
21 years ago
21 years ago
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.
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.
DaMoyre
21 years ago
21 years ago
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.
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.

Shadyman
21 years ago
21 years ago
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 *
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 *
The Professor
21 years ago
21 years ago
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.
DaMoyre
21 years ago
21 years ago
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.)

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.)
» More new posts: Doghead's Cosmic Bar