Skip to content

Instantly share code, notes, and snippets.

@mkroman
Forked from Elevina/Ulla
Created January 10, 2011 20:19
Show Gist options
  • Save mkroman/773379 to your computer and use it in GitHub Desktop.
Save mkroman/773379 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
# encoding: utf-8
require 'pulse'
Pulse.connect hostname: 'uplink.io', nickname: 'Ulla2' do
catch :connection_ready do
join "#uplink"
end
catch :message do |user, channel, line|
channel.say "sæd" if line == "neger"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment