Quote:
Originally posted by trilOByte
REQUEST
What I would really like, is a way to stop the bot responding on the forums, unless it was triggered by a keyword (eg: "Alice"). The I could run the bot as a propper chatbot/FAQbot via the popup, but also have it as an "on demand" bot for the forums.
I think that would be the slickest way if integrating this hack. [/B]
|
I am new to hacks and what not. But why not just add a if statement in the tomstalkerbot.php.
Something like.
if ($ttb==1 AND rand(1,100)<=$ttb_weighting AND $forumid==$ttb_forumid AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();};
take out the $ttb_forumid and replace it some how with a search in the $message string.
If this was visual basics i could do it in a minute but not sure on how to in php.
Just an idea..... Hope makes some sence.