Quote:
Originally Posted by apokphp
Example:
In TEACHING thread, there are posts...
#1
#2
#3
#4
#5
I run botlearner.php
Learned Thread shows:
My original opening post
#2
#3
#4
The TEACHING thread now shows
#5
Seems to be fine way of doing it...is this what is supposed to happen?
|
No it should be only #1 remaining in the teaching thread. This way the first post in the thread should be a description of what the thread is all about, are you sure the postid is the correct #?
Are you sure the postid's are set up with the proper numbers?
It is with this query:
Code:
SELECT post.title, post.pagetext, post.postid
FROM post
WHERE post.threadid=TEACHINGTHREADID AND post.postid!=TEACHINGTHREADFIRSTPOSTID
That it transfers things over with, in plain english get all posts with threadid=TEACHINGTHREADID except when postid=TEACHINGTHREADFIRSTPOSTID....
The only thing I could think of is a wrong number or we're counting in different directions with our 1,2,3,4,5's.... But you should have 4 posts being moved over, and you say it's just 2,3,4 that got moved....
Yeah that should be a colon I imagine.

Fixed in original post.
What questions did you make it learn?
Perhaps try some more specific things. Non-common things that aren't already defined in the AIML. When the bot runs into a looping error searching for an answer that's when it says "opps I wasn't paying attention, etc..." I noticed long questions can be problematic as the bot breaks down the sentence trying to make a match. If it goes down the wrong path you won't get your expected answer.
Try my 'What are Snausages?' Example...
You can also define words for the bot to pick up on...