Personality
Discuss specifics of personality design, including what Keyphrases work well and what dont, use of plug-ins, responses, seeks, and more.
Posts 3,157 - 3,171 of 5,106
Posts 3,157 - 3,171 of 5,106
Bowchickawowers
20 years ago
20 years ago
So, I created this system where people can say things like "Tell John I say hi," and it stores the message as (self-message) and the person it should be delivered to as (self-messageto). I then want my bot to say the message back when prompted if the chatter's name matches the (self-messageto) name. Unfortunately, it's not working. Even when the names appear the same to me, it doesn't recognise it. My response looks like this:
Yes! (self-message) <?PF if (self-messageto) is "(mem-yourname)"; ?>
Is the code on that right to compare those two memories?
Yes! (self-message) <?PF if (self-messageto) is "(mem-yourname)"; ?>
Is the code on that right to compare those two memories?
The Professor
20 years ago
20 years ago
That's a cool idea. You could also use (name) instead of (mem-yourname) to guarantee the name isnt saved as something other than the person's username. If that doesnt work, does debug mode reveal anything?
Bowchickawowers
20 years ago
20 years ago
Prof-
I just tried using (name), and it still wouldn't match it. As far as I can tell, (name) matches (self-messageto) exactly, just as it did before with (mem-yourname). All debug shows is:
Skipping: (self-messageto) is not '(name)'
I'm drawing a blank as to why.
I just tried using (name), and it still wouldn't match it. As far as I can tell, (name) matches (self-messageto) exactly, just as it did before with (mem-yourname). All debug shows is:
Skipping: (self-messageto) is not '(name)'
I'm drawing a blank as to why.
isaacc
20 years ago
20 years ago
I wonder if the quotation marks around "(name)" are throwing it off, Bowers. Would that happen? I'm just guessing.
Bowchickawowers
20 years ago
20 years ago
isaacc-
I thought so too, and I've tried various combinations of quotes and no quotes, but that's the only one that doesn't cause some sort of error as far as I can tell. ps. Thanks for trying it out. I think she just randomly emoted and that's why it didn't work for you.
I thought so too, and I've tried various combinations of quotes and no quotes, but that's the only one that doesn't cause some sort of error as far as I can tell. ps. Thanks for trying it out. I think she just randomly emoted and that's why it didn't work for you.
emm_oh_you_es_e
20 years ago
20 years ago
Just read in a magazine that the first
was created in 1963 by an artist for State Mutal Life Assurance company to boost worker moral. He was paid $45 for it. /random fact

emm_oh_you_es_e
20 years ago
20 years ago
Ya pretty strange, makes me think of a bunch of people walking around assuring people they have a life. "You have a life" "And you have a life" ect..

» More new posts: Doghead's Cosmic Bar