Omnimaga

General Discussion => Technology and Development => Web Programming and Design => Topic started by: Eeems on May 22, 2011, 12:23:43 am

Title: EeeZorBot
Post 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
Title: Re: EeeZorBot
Post by: Deep Toaster on May 22, 2011, 12:36:09 am
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
Title: Re: EeeZorBot
Post by: DJ Omnimaga on May 22, 2011, 12:45:00 am
Interesting. Don't put it in #omnimaga though, since there's already a quote bot there.
Title: Re: EeeZorBot
Post by: Eeems on May 22, 2011, 12:56:17 am
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
Title: Re: EeeZorBot
Post by: Eeems on January 13, 2014, 12:45:33 am
https://github.com/Eeems/EeeZorBot I'll just leave this here.
Title: Re: EeeZorBot
Post by: Juju on January 14, 2015, 09:28:12 pm
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
Title: Re: EeeZorBot
Post by: Eeems on January 15, 2015, 01:34:22 pm
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.
Title: Re: EeeZorBot
Post by: Juju on January 15, 2015, 02:59:38 pm
Thank you for your reports, I'll look at them when I can.