|
General Details
|
|
Perl
|
|
Posted 4.7 Years Ago
|
|
702 Views
|
|
Received 3 Ratings
|
|
IRC bot with memory
Description
This bot basically connects to an IRC channel of your choice and quietly collects information. For example, if someone says "CoderProfile is awesome" it will store in its database CoderProfile and awesome, as well as who said it. Then, if someone later asks "What is CoderProfile?" the bot will respond with "[someone] said CoderProfile is awesome". I wrote this in a few minutes, so the regex for finding what something is is pretty bad, so expect to get weird results sometimes. Also, you will need a MySQL table that has the rows 'who', 'what', and 'isthis' in that order.
Technical
This requires the Net::IRC module, the Net::MySQL module, MySQL, and a Perl interpreter.
Source Code
Comments
| Please login to post comments. |
More "Perl" Source Codes By This Author
Recently Posted "Perl" Source Codes
Recently Rated "Perl" Source Codes
|