Show
Ignore:
Timestamp:
01/26/08 16:31:44 (5 years ago)
Author:
cho45
Message:

lang/ruby/net-irc/trunk/examples/tig.rb,
lang/ruby/net-irc/trunk/examples/wig.rb:

Add documentation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/net-irc/trunk/examples/wig.rb

    r5532 r5533  
    11#!/usr/bin/env ruby 
     2=begin 
     3 
     4# wig.rb 
     5 
     6Wasser IRC Gateway 
     7 
     8 
     9## Client opts 
     10 
     11Options specified by after irc realname. 
     12 
     13Configuration example for tiarra ( http://coderepos.org/share/wiki/Tiarra ). 
     14 
     15        twitter { 
     16                host: localhost 
     17                port: 16670 
     18                name: username@example.com athack 
     19                password: password on wasser 
     20                in-encoding: utf8 
     21                out-encoding: utf8 
     22        } 
     23 
     24### athack 
     25 
     26If `athack` client options specified, 
     27all nick in join message is leading with @. 
     28 
     29So if you complemente nicks (ex. irssi), 
     30it's good for twitter like reply command (@nick). 
     31 
     32In this case, you will see torrent of join messages after connected, 
     33because NAMES list can't send @ leading nick (it interpreted op.) 
     34 
     35## Licence 
     36 
     37Ruby's by cho45 
     38 
     39=end 
    240 
    341$LOAD_PATH << File.dirname(__FILE__)