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 5,405 - 5,417 of 7,766

18 years ago #5405
Bots that have not progressed past newborn and whose botmasters have not logged on in a while are periodically deleted. If you don't want your bot to be deleted, get it beyond the newborn stage.

18 years ago #5406
Hello.
Just a question : how can you match the expression "It is" without "It is not" works.
I tried "It is [^not] (re)" but it doesn't work.

18 years ago #5407
I tried "It is [^not] (re)" but it doesn't work.

That wouldn't work, because "^" must be placed at the beginning of a keyphrase.

The simple answer is to use 2 keyphrases:

It is
It is not

and set the rank 5-10 points higher for "It is not than for "It is" - then it won't be outranked by "It is".

18 years ago #5408
Ok thanks it is cause in regular expressions that means "all except"

18 years ago #5409
It's always good to throw in a 'It * is', and 'It * is not' too..to cover the 'it really is' etc

18 years ago #5410
Ok nice advice!

18 years ago #5411
Ok thanks it is cause in regular expressions that means "all except"

Sometimes (infuriatingly,) "standard" regexes won't work - it is a slightly different flavour of regex on the Forge I'm afraid. Case sensitivity doesn't seem to work either.

18 years ago #5412
Normally "it is not" will match before "it is" if they have the same rank, because "it is not" is longer.

18 years ago #5413
Yes it is what I thought.
An other question please :
I try to match the word "God"
It works when user says "I am god." but not when he says "God."
Why and is there a solution?

18 years ago #5414
Try ^God$ (re) raw.

18 years ago #5415
It doesn't work I want to match "God" and "I am a god"

18 years ago #5417
I can get 'Is there a God'
Bot: Yes there is. to work...but you are right 'God' doesn't. I even tried ([abcdefghijklmnopqrstuvwxyz]+)od (re) It is triggered by Cod but not God? It all seems to go straight to blab.


Posts 5,405 - 5,417 of 7,766

» More new posts: Doghead's Cosmic Bar