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

20 years ago #3157
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?

20 years ago #3158
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?

20 years ago #3159
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.

20 years ago #3160
I wonder if the quotation marks around "(name)" are throwing it off, Bowers. Would that happen? I'm just guessing.

20 years ago #3161
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.

20 years ago #3164
I think I just injured myself trying to make all those faces in that order.

20 years ago #3165
I think I just injured myself LOOKING at all those smileys in that order.

20 years ago #3166
Aries think Aries have headache from smileys

20 years ago #3168
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

20 years ago #3169
Life assurance! That must be expensive!

20 years ago #3170
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..

20 years ago #3171
*checks for pulse*
Yup! I've got a life!


Posts 3,157 - 3,171 of 5,106

» More new posts: Doghead's Cosmic Bar