Omnimaga
General Discussion => Technology and Development => Web Programming and Design => Topic started by: Eeems on May 22, 2011, 12:23:43 am
-
http://dl.dropbox.com/u/763272/ircbot/README
http://dl.dropbox.com/u/763272/ircbot/MODULES_HELP
http://dl.dropbox.com/u/763272/ircbot/installEeeZorBot
EeeZorBot is a irc bot that I've been developing in php.
EeeZorBot supports nickserv, multiple servers and channels as well as extra modules that anyone can develop :D
To get the bot either run installEeeZorBot on a linux machine or run this file with php http://dl.dropbox.com/u/763272/ircbot/EeeZorBot.php and then edit the created files according to how README mentions it. Then run the file again to run the bot.
Feel free to give me some feature requests and I'll see what I can do.
md5 module: http://dl.dropbox.com/u/763272/ircbot/modules/md5
!md5 <word> - returns the md5 of a word
quotes module: http://dl.dropbox.com/u/763272/ircbot/modules/quotes
!quote [<integer>] - returns a random quote or a specific quote
!addquote <quote> - adds a quote to the database
!removequote <integer> - removes the quote at the integer
!countquotes - returns how many quotes there are in the database
-
That be something I need! Chat's blocked at school, so I need to find some way to HTML my way to #omnimaga. I'll definitely try this later :D
-
Interesting. Don't put it in #omnimaga though, since there's already a quote bot there.
-
Well quotes are actually a module, so it doesn't have to be installed.
@Deep Thought: Hopefully you can figure out a way to modify this to your needs, if you want to play with the source let me know ( I compress the released version a little )
Oh and before I forget, thanks to Albert for the install script :)
EDIT: oh and if you want to see it in action go check out #IRP on irc.omnimaga.org
EDIT: and now it's also in #IRP on efnet
-
https://github.com/Eeems/EeeZorBot I'll just leave this here.
-
I'll reply that necropost with another necropost. I wrote a few scripts for my installation of EeeZorBot, I've put them on GitHub. Also Eeems you should put the re-org branch as default.
https://github.com/juju2143/EeeZorBot-scripts
-
I will when I think it's stable enough (read: properly documented and used in production for my copy of EeeZorBot).
I'll take a peek through your scripts and see if I can see ways to optimize how they work (Since my documentation is behind etc).
EDIT: initial thoughts for optimization. search.js (https://github.com/juju2143/EeeZorBot-scripts/blob/master/search.js) can probably be switched to use db.query() instead of db.querySync() since there is no good reason to pause execution of your hook until the query is done.
-
Thank you for your reports, I'll look at them when I can.