Skip to content

Instantly share code, notes, and snippets.

@vangberg
Created August 24, 2009 14:30
Show Gist options
  • Save vangberg/173910 to your computer and use it in GitHub Desktop.
Save vangberg/173910 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'isaac'
configure do |c|
c.nick = "wallabotz"
c.server = "irc.freenode.net"
c.verbose = true
end
on :connect do
join "#awesomechannel"
end
on :channel, /foo bar/ do
msg "#awesomechannel", "public match!"
end
on :private, /foo bar/ do
msg "#awesomechannel", "private match!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment