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 2,131 - 2,142 of 7,766

21 years ago #2131
Can regular expressions be used to detect something case-sensitively? (i.e., if I want to detect something only when it starts with a capital letter?)

21 years ago #2132
yeah, regular expressions are case sensitive, unless the professor's using a case insensitive function.

21 years ago #2133
The professor would never be insensitive to cases. That would be just so . . . insensitive.

21 years ago #2134
hahahaha! It's ok to be sensitive to cases

21 years ago #2135
Speaking of which, is the word 'goto' case sensitive? This leads me another question... It's about the 'Goto ####' out to the right of the seeks... I always assumed that was a number you could 'go to' from another seek, in order to get the same of affect as the seek that number is to the right of... In any event, it seems it used to work, but lately it doesn't seem to. I'm wondering if maybe i've been pasting in 'Goto' instead of typing 'goto' and maybe it's case sensitive? (I know in one case where it didn't work the way I expected most recently that it was indeed a capital 'G')

21 years ago #2136
you can use 'goto (keyphrase)' where (keyphrase) is ex:

where am I
or
why (*) you

21 years ago #2137
The bots don't recognise 'haha'. If I have that keyphrase it wont be triggered.

21 years ago #2138
isn't haha changed in debug the same way hahahahahahaha is?

21 years ago #2139
Yes, 'haha' and 'hahahahahahaha' are both changed into nothing. An xnone is triggered.

21 years ago #2140
into nothing? Ewwh. I thought repetitives were changed to the first repetition, Ex:

hahahahahahahahaha was changed to haha
hehehehehe was changed to hehe

21 years ago #2141
That's not what I see in debug. Try it for yourself.

21 years ago #2142
well thats at least how it was back in the day I feel old when I say that.. Actually, back in the day, we had to put in keyphrases for each kind of thing typed in, and they werent called keyphrases either! You young'ens got it good!


Posts 2,131 - 2,142 of 7,766

» More new posts: Doghead's Cosmic Bar