MyBB Community Forums

Full Version: Bot (User) to use a script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to know how it would be possible to make a bot out of a user that could execute scripts.
Kind of like http://dotapub.net does, except they use phpBB.
What I'm talking about is a user that's a bot, and when a new thread is in x forum, a script will run.
The script checks a sql database for bans, and then shows them as well as other stats.
Any ideas on how to at least make a user use scripts like that?
If you already have the script you could just hook into the new thread code and includes your script. Alternatively you could use the task system to schedule the check at intervals. Look into some of the documentation on making plugins as to how you hook into MyBB.