Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

mysql irc bot

 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Scripts
Author Message
greg27
Lurker
Lurker


Joined: 07 Oct 2006
Posts: 178
Location: Australia

PostPosted: Dec 13, 2007 3:40am    Post subject: mysql irc bot Reply with quote

i'm looking for an irc bot which connects to a network and then listens for commands from a mysql database - does anyone know of such a bot? nothing mirc related please, this will be run on a linux system :]
Back to top
jared555
none
none


Joined: 11 Dec 2007
Posts: 4

PostPosted: Dec 13, 2007 8:02am    Post subject: Reply with quote

I highly doubt it is what you want but if no one else answers....

At one point I did this using psybnc and a php script. You just set up psybnc to pass the commands over to the php script which can look in the database for what you need. This would work with any language that can access mysql and accept command line arguments.
Back to top
Stefano
Eleet
Eleet


Joined: 03 Apr 2005
Posts: 528
Location: Beirut

PostPosted: Dec 13, 2007 6:29pm    Post subject: Reply with quote

there was one on gnu site
Back to top
greg27
Lurker
Lurker


Joined: 07 Oct 2006
Posts: 178
Location: Australia

PostPosted: Dec 14, 2007 11:54pm    Post subject: Reply with quote

jared555 wrote:
I highly doubt it is what you want but if no one else answers....

At one point I did this using psybnc and a php script. You just set up psybnc to pass the commands over to the php script which can look in the database for what you need. This would work with any language that can access mysql and accept command line arguments.


how do i set up psybnc to do this?
also, would it be possible to have a php file send commands to psybnc (such as a channel mode change) and then have the result (success/fail) sent back to the php script?
Back to top
Invisible
Lurker
Lurker


Joined: 26 Jul 2005
Posts: 204

PostPosted: Jan 09, 2008 10:10pm    Post subject: Reply with quote

Actually the entire thing can be run through php/mysql using sockets... however I couldn't tell you the name of one.
Back to top
egg
none
none


Joined: 30 Jan 2008
Posts: 1

PostPosted: Jan 30, 2008 10:44am    Post subject: Reply with quote

Invisible wrote:
Actually the entire thing can be run through php/mysql using sockets... however I couldn't tell you the name of one.


You don't want to or you can't remember?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Scripts All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer