Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Formatting for your isaac-powered IRC bots
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
isaac-formatting.gemspec

README.md

isaac-formatting

Formatting for your isaac-powered IRC bots.

Currently it only works with clients that use mIRC's formatting system.

As far as I know, that includes mIRC, irssi and weechat.

Installation

If you already have gemcutter as a source, it's as easy as:

sudo gem install isaac-formatting

Otherwise, you'll need to install by source:

sudo gem install isaac-formatting --source http://gemcutter.org    

Usage

require 'isaac'
require 'isaac-formatting'

# The following formatting options are available:
#
# * plain
# * bold
# * italic
# * underline
# * color

configure do |c|
  c.nick   = 'colorfulll'
  c.server = 'irc.freenode.net'
  c.port   = 6667
end

on :connect do
  join '#welovecolors'
end

on :channel, /^!blue (.*)/i do
  msg channel, "#{nick} said: #{color(:blue)} #{message} #{stop_color}"
end

Copyright

Copyright (c) 2009 Danny Tatom. See LICENSE for details.

Something went wrong with that request. Please try again.