Coding a Twitter killbot Mar 9, 2007 • Kellan j = Jabber::Simple.new(jid, pass) j.received_messages.each do |mesg| if mesg.body.match(/austin|sxsw/i) sender = mesg.elements['//screen_name'].text j.deliver('twitter@twitter.com', "leave #{sender}") end end Though truth be told, it isn’t running.