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,656 - 3,667 of 7,769

NEW 21 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.

NEW 21 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.

NEW 21 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.

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

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

NEW 21 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.

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

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

NEW 21 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.

NEW 21 years ago #3665
The HANGUP is in a seek?

NEW 21 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!

NEW 21 years ago #3667
Awww shucks. Good to be seen!


Posts 3,656 - 3,667 of 7,769

» More new posts: Doghead's Cosmic Bar