Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: af7549b0f0
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (32 sloc) 1.036 kB
#!/usr/bin/ruby -w
# coding: utf-8
#irc 服务器设置
$server = 'irc.freenode.net'
$port = 6667
$nick = ["kk-bot",'kk-bot1']
$pass = 'ikk-bot'
$channel = '#ubuntu-cn-ot'
$channel_o = '#sevk' #后台消息
$charset = 'UTF-8' # irc频道的字符设置
$name = "bot svn ver bot :svn Ver bot"
#bot功能设置
$need_Check_code = 1
$need_say_feed = 0
$saytitle = 1
$bot_on = true # bot 功能开关
$minsaytime = 6 #最快6秒发言一次
#puts "Min say time=#{$minsaytime}"
# 调试开关,会显示很多信息,比如 rchardet 的内容
$debug = false
#本地显示设置
$local_charset = 'UTF-8'# windows 平台可以设置为 'gb2312 或 gb18030'
$local_charset = 'GB18030' if win_platform? # 也可以自动判断是不是windows系统
$ignore_action = "quit join" #过滤消息类型
$ignore_nick = ":_aaaiIl_ :_bbbiIl__ " #过滤nick, 要在前面添加冒号:
puts $ignore_nick #打印过滤的nick
#client 功能
$client = true
$proxy_addr = '127.0.0.1'
$proxy_port = 65534
$proxy_addr2 = '127.0.0.1'
$proxy_port2 = 65533
Jump to Line
Something went wrong with that request. Please try again.