BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: laen on November 14, 2007, 08:11:23 am
-
I'm hoping to write a module that tells the pgroup about a new topic that's posted on the phpBB forums associated with the bot. Now, the SQL query for that isn't going to be hard, but having the bot check for it is kicking me around.
How would something like that be done? Make the bot check every 5 minutes for new topics on the query, storing the allready posted topic ID's in a table/textfile? Besides that, i have no idea yet on how to work with the bots cron. So if anyone could enlighten me on that one too, that would be awesome.
Thanks in advance!
-
i have something similar i use for smf this should help you
-
http://bebot.link/index.php/topic,416.msg2605.html#msg2605
It's a bit old and crappy, but it works.
-
You two are simply awesome :D
Gonna rewrite em a bit, take sexyness from both. Thanks for teh lovin!