I have a full featured chatterbox <-> IRC gateway bot, supporting two way communications, that I wrote for the chatterbox on everything2.com. I don't IRC anymore, and that bot was replaced by another (cleaner, but with less personality) bot. Right now I'm at a public access terminal, but I'll post my code Saturday (PST). It does require a fairly trusted host if you want to be able to send messages, as you have to tell it your password to send messages. Also, for people on it's admin list, it allows you to plug in new parser modules at runtime, without restart, in Perl from IRC. Which is fun, for modifying the AI based on conversational context, etc.
It uses the chatterbox XML ticker, so it's bandwidth-friendly for the server.
Here is a poem about ChatterBot that was posted on everything2.com.
A poem for the chatterbot:
When I tell you I love you
<ChatterBot> I love you too, cureobsession.
You tell me you love me back
When I tell you I wuv you
<ChatterBot> I wuv you too, cureobsession.
You tell me you wuv me back
When I tell you I hate you
* ChatterBot asks cureobsession, 'what does hate mean?'
You pretend to not know and ask, "What does hate mean?"
But I know you know and I'm sorry
Just know that I love you chatterbot!
<ChatterBot> I love you too, cureobsession.
Will you marry me?
Saige said she wouldn't
But thats alright
All I need is you
All I need is you
* Chatterbot asks cureobsession 'what does need mean?'
* Chatterbot asks cureobsession 'what does need mean?'
--
Snazzy tagline here
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.