github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

dannytatom / isaac-formatting

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Formatting for your isaac-powered IRC bots. — Read more

  cancel

http://github.com/dannytatom/isaac-formatting

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Forgot a colon 
dannytatom (author)
Thu Nov 05 22:28:00 -0800 2009
commit  e960edc5782f7e3c24201fa1b0fe88eb16b52242
tree    e821b2151f65d5619fc2340fde893530b3ce96a0
parent  1c5b8df8d72ffe433af91020fc91ae0c2c2e5818
isaac-formatting /
name age
history
message
file .gitignore Loading commit data...
file LICENSE
file README.md
file isaac-formatting.gemspec
directory lib/
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.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server