gem install carrier-pigeon
require 'carrier-pigeon' # In the open CarrierPigeon.send( :uri => "irc://nick:[email protected]:6667/#channel", :message => "cooooo, coo coo" ) # SSL CarrierPigeon.send( :uri => "irc://nick:[email protected]:6667/#channel", :message => "coo, secret plan", :ssl => true ) # Join a channel (required for most Freenode channels) CarrierPigeon.send( :uri => "irc://nick:[email protected]:6667/#channel", :message => "cooooo, part of the flock", :join => true ) # Join a channel that requires a password CarrierPigeon.send( :uri => "irc://nick:[email protected]:6667/#channel", :message => "coo, the password is ..." :channel_password => "secret", :join => true ) # Register (ping reply) prior to joining or messaging a channel (required for some private servers) CarrierPigeon.send( :uri => "irc://nick:[email protected]:6667/#channel", :message => "cooooo, coo coo", :register_first => true, :join => true )