Skip to content

Instantly share code, notes, and snippets.

@jnunemaker
Created November 13, 2008 22:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jnunemaker/24655 to your computer and use it in GitHub Desktop.
basic bot using isaac
require 'rubygems'
require 'isaac'
config do |c|
c.nick = "somefanfrickentasticbot"
c.server = "irc.freenode.net"
c.port = 6667
end
on :connect do
join "#somefanfrickentasticchannel"
end
on :channel, /.*/ do
msg channel, "Got your message #{nick} (#{match[0]})"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment