becker = BeckerSpeaks.new
becker.speaks_with("rubytalk@gmail.com",__RUBYTALKPASS__)
becker.accepts_all_listeners!
becker.says("sbeckeriv@gmail.com","on")
I saw the gem xmpp4r-simple some where recently and thought back to the days of raimbo. I made a ruby script that was a google bot and did some other cute little functions. Thankfully that code is lost to the ages. The good news is that XMPP is the new hotness. Thats really good cause the raimbo lib does not work any more.
There is a nice library called xmpp4r-simple. I found lots of create examples of using this and using this with googletalk. For some reason I could not get it to connect to gmail. So I looked in to the underlying lib xmpp4r. After getting it to work with googletalk I started making BeckerSpeaks.
The key to getting xmpp4r to work with gmail/googletalk was passing in "talk.google.com" when calling connect on the jabber client. This is also in the comments of another website. I did not find the site in time.
I have a few ideas for bots. 1) create a bot that informs me when a new url is tagged with ruby in delicious.com . 2) A bot that lets me know when a new thread is started on ruby talk 2) a library that sends me stacktraces from rails 2) A bot that does tasks 2) One that sends me an IM when I break a build 2) woot off bot 2) some kind of annoying bot to nag me about things. Lots of bots that kinda all do the same things. Just different conditions.