Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
irc-bot , like a human
Ruby
Tree: fef3e00d60

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
README
default.conf
irc.rb

README

需要安装ruby, 安装ruby :
建议装 1.8 , 小数第一位,偶数表示稳定版本, 1.9 奇数是测试版本.

windows : http://rubyinstaller.org/downloads/
linux下面一般是 apt-get install ruby-full 之类的,我用的是ubuntu .

装完ruby后升级 gem, 命令是: gem update --system
然后安装3个库: gem install htmlentities rchardet mechanize

运行:
ruby irc.rb 或 ./irc.rb 或直接双击 irc.rb
配置文件是 default.conf


生成文档:
rdoc --charset utf-8 *.rb
Something went wrong with that request. Please try again.