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

Title: Bot announcing new phpBB topic
Post 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!
Title: Re: Bot announcing new phpBB topic
Post by: Temar on November 14, 2007, 12:15:55 pm
i have something similar i use for smf this should help you
Title: Re: Bot announcing new phpBB topic
Post by: Wolfbiter on November 14, 2007, 02:18:06 pm
http://bebot.link/index.php/topic,416.msg2605.html#msg2605

It's a bit old and crappy, but it works.
Title: Re: Bot announcing new phpBB topic
Post by: laen on November 14, 2007, 08:34:02 pm
You two are simply awesome :D

Gonna rewrite em a bit, take sexyness from both. Thanks for teh lovin!
SimplePortal 2.3.7 © 2008-2025, SimplePortal