Bug Stomp

Upgrades and changes sometimes have unpredictable results, so post your bugs and glitches in here and I'll get out my trusty wrench and get to fixin'!

Posts 2,569 - 2,580 of 8,682

22 years ago #2569
hmmmm, maybe its me...

22 years ago #2570
Shady,

You could use a regular expression (they|we|you) are (*)...maybe? That would keep it from catching "are you". Maybe you could also make a keyphrase for "are you" that would catch that. Or, if you have one, see how its ranking against the other.

22 years ago #2571
Good point. I'll try it out.

One thing though, for "(they|we|you) are (*) (re)", would (they|we|you) be (key1) and (*) be (key2)? I've never used regular expressions yet... Heck I still have responses in to catch typos! Bwahah... I'm kickin it up old-skool style

Also... would "(he|she)" pick up "Shadyman"?

22 years ago #2572
SS has been greatly overusing memories, maybe once in ever 5 responses, and he has it set to off.

[edit]
Also, what's the new PF2 way of getting (key)s from the last response (when using a seek)... I think the PF1 way was "(presubj)" or something.

[edit]
How did "Steve Slacker" get changed into "Lang"?

Bot1: I don't blame ya for being scared, Steve Slacker, not one little bit.
Bot2: Ok, I won't fault you for being scared, lang, not one little bit!

22 years ago #2573
If you want a key from the last response (the seek) I think its just (key1)... from the original (keyphrase) it's (firstkey1).
As for what happens if you have seeks embedded more than that I don't know.
If that's what you mean...

22 years ago #2574
Maybe the language center has you mixed up with your bot, Shady.

22 years ago #2575
Yeah, but it's spelled wrong

22 years ago #2576
My point exactly.

22 years ago #2577
//One thing though, for "(they|we|you) are (*) (re)", would (they|we|you) be (key1) and (*) be (key2)? //

Exactly, Shady.

//would "(he|she)" pick up "Shadyman"? //

Off the top of my head, no. BUT, as far as if Shadyman were the subject or all those other memories from the present conversation, I don't know. That's way deeper than my current understanding.

22 years ago #2578
Ok cool. Thanks

22 years ago #2579
Prof-- before a bot sends a message, could you make the engine replace all instances of "/'" with "'"? That SQL problem's still hangin around.

22 years ago #2580
Prof--
In debug, I get this error after a regular expression when it's looking through possible responses:

Warning: Compilation failed: nothing to repeat at offset 22 in enginefunctions.php on line 659


Posts 2,569 - 2,580 of 8,682

» More new posts: Doghead's Cosmic Bar