EQ²
February 27, 2008, 03:33 PM
Basically this is Rich's fault, he said he thought it would be cool if you were able to have a webpost function for IRC. Some of you may already be familiar with the TeamSpeak WebPost (http://dedi2.eq2.co.uk/webpost), so this shouldn't seem like a particularly new idea.
The (alpha version) of the bot is running on my server at home and the webpost page is available at: http://dedi2.eq2.co.uk/ircwebpost/
I've basically just been getting the base functionality working, so it's not especially clever as yet. Some neat design features are:
Join multiple channels and automatically create the tables in the database for those channels
Use chat/me/notice to log a user's activity so a vague idea of idle time can be established
Queued SQL queries so that update rate to the db is not excessive, also remove duplicate entries pertaining to the same nick from the queue. Update the db with the queued queries every minute.
Basic remote control and admin ACL using /msg allows joining the bot to channels PERFORM function allowing Quakenet Q Auth or NickServ IDENTIFY
Some things I want to add:
Auto re-join channel on kick, auto-retry on ban
Log user modes/flags (such as voice, op) into the db so they can be viewed in the webpost
Better multi-server support so that a single bot can be used to monitor different channels per server
Better metadata support allowing friendly names for channels and the like
Support for other storage methods rather than just MySQL (ie. flat file)
Coloured topic support
Additional functions for the bot beyond webpost, such as set topic from web, auto-notify of events, etc
Anyone who wants to help who can code in c# is welcome to do so, just ask me for the source.
The (alpha version) of the bot is running on my server at home and the webpost page is available at: http://dedi2.eq2.co.uk/ircwebpost/
I've basically just been getting the base functionality working, so it's not especially clever as yet. Some neat design features are:
Join multiple channels and automatically create the tables in the database for those channels
Use chat/me/notice to log a user's activity so a vague idea of idle time can be established
Queued SQL queries so that update rate to the db is not excessive, also remove duplicate entries pertaining to the same nick from the queue. Update the db with the queued queries every minute.
Basic remote control and admin ACL using /msg allows joining the bot to channels PERFORM function allowing Quakenet Q Auth or NickServ IDENTIFY
Some things I want to add:
Auto re-join channel on kick, auto-retry on ban
Log user modes/flags (such as voice, op) into the db so they can be viewed in the webpost
Better multi-server support so that a single bot can be used to monitor different channels per server
Better metadata support allowing friendly names for channels and the like
Support for other storage methods rather than just MySQL (ie. flat file)
Coloured topic support
Additional functions for the bot beyond webpost, such as set topic from web, auto-notify of events, etc
Anyone who wants to help who can code in c# is welcome to do so, just ask me for the source.