The AI Engine

This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.

Posts 3,655 - 3,666 of 7,766

20 years ago #3655
What I hate the most is in the transcript when two or more people/bots are having a convo with your bot, you can't tell what is being said to who most of the time. It's annoying. You kinda have to mix & match, and guess lol

20 years ago #3656
Got tired of all these weird people harrassing Duo, so I inserted the following AI script in his xhello and xinitiate:

HANGUP <?PF if (mem-nickname) is "pervert"; ?>

I went ahead and modified some of Duo's memories so that any guest that harrassed him in the past is now nicknamed - you guessed! - "pervert"

I just tested it, and it works. Hopefully he won't be talking to any of these blacklisted people again.

20 years ago #3657
So does the aiscript work now in xhello and xinitiate? I had problems with it before, triggering for everybody or nobody at all.

20 years ago #3658
It seems to be working.

I nicknamed myself "pervert" to test it, and Duo ended the chat. Then when I changed my nickname back to 'DaMoyre' - he talked to me.

20 years ago #3659
Excellent idea, DaMoyre! Although my bots haven't been plagued as bad as others, I think I will implement that.

20 years ago #3660
Uh, DaMoyre, wouldn't that only work if that was the only xinitiate response? Or am I missing something?

20 years ago #3661
What I did was to put a script in all of the other responses under the xinitiate that will point the offender back to the one response you want to be used.

20 years ago #3662
I just used HANGUP <?PF if (mem-nickname) is "pervert"; ?> after each of my responses. it seems to work fine.

20 years ago #3663
uh, so "if nickname does not equal pervert"?

20 years ago #3664
then the bot should just chat - as usual.

EDIT:
my bad! Duo has "no valid responses to choose from"

Hm. There must be a way around this.

20 years ago #3665
The HANGUP is in a seek?

20 years ago #3666
Doulos! You're a genius!

It could be:

+ xnomatch [0]
HANGUP <?PF if (mem-nickname) is "pervert"; ?>
So good to see you here again!


Posts 3,655 - 3,666 of 7,766

» More new posts: Doghead's Cosmic Bar