Well TeRG (Or should I say Dusky now?) and I were talking in #ljr and I said I should revive gorbot (My old IRC Bot that sat in #ljr and didn't really do much) just for the larts. So I was about to until I looked at the code, let's just say it was disgusting.
So I've started rewriting it and am thinking of features for it...
What about integration into the LJR webpage? Like !pets would show a list of all the pets, you could select one and it would send the link (That way you can show newbies where to go without openning your own webbrowser, just a !pet *apache*) Or !recentposts or !whosonline or whatever.
So there are 3 ways I can think of to do this.
One) through the web interface, the bot is in Perl so parsing html is not a big deal.
Two) Some "lite" version of the webpage so bandwidth isn't wasted, much like how slashdot provides an easy to parse low bandwidth page for bots to use.
Three) SQL. That's the cleanest, if the bot was run on cloverm's server (Since he is moving it to his own anyway) it could just use the same database that the forums use, read-only of course (Unless we thought of good reason for write of something...?).
Three is the best, but security is also the most of an issues, cloverm may not want to give out shells on his webserver, and I couldn't write it as easily if I had to wait for him to load the new version (I suppose I could setup my own yabbse with his PET mod but still some things would be different). Also if my code was sloppy (My code, sloppy? Never!) and there was a security implication that could be bad. I suppose SQL can also be done over the internet, so that could be another method, bot runs on my box, but connects to cloverm's SQL server.
Thoughts? Ideas of what features should be implemented (It's not gonna be nearly as annoying this time, and hopefully there won't be as many bot-fights)?


Reply With Quote

Bookmarks