# apt-get install rbot
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libdb4.3-ruby1.8 libopenssl-ruby1.8 ruby ruby1.8
Suggested packages:
ruby1.8-examples rdoc1.8 ri1.8
Recommended packages:
librexml-ruby
The following NEW packages will be installed:
libdb4.3-ruby1.8 libopenssl-ruby1.8 rbot ruby ruby1.8
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1089kB of archives.
After unpacking 2560kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrors.kernel.org testing/main libdb4.3-ruby1.8 0.5.8-1 [182kB]
Get:2 http://mirrors.kernel.org testing/main libopenssl-ruby1.8 1.8.5-2 [290kB]
Get:3 http://mirrors.kernel.org testing/main ruby1.8 1.8.5-2 [215kB]
Get:4 http://mirrors.kernel.org testing/main ruby 1.8.2-1 [19.0kB]
Get:5 http://mirrors.kernel.org testing/main rbot 0.9.10-1 [382kB]
Fetched 1089kB in 2s (471kB/s)
Selecting previously deselected package libdb4.3-ruby1.8.
(Reading database ... 134311 files and directories currently installed.)
Unpacking libdb4.3-ruby1.8 (from .../libdb4.3-ruby1.8_0.5.8-1_i386.deb) ...
Selecting previously deselected package libopenssl-ruby1.8.
Unpacking libopenssl-ruby1.8 (from .../libopenssl-ruby1.8_1.8.5-2_i386.deb) ...
Selecting previously deselected package ruby1.8.
Unpacking ruby1.8 (from .../ruby1.8_1.8.5-2_i386.deb) ...
Selecting previously deselected package ruby.
Unpacking ruby (from .../archives/ruby_1.8.2-1_all.deb) ...
Selecting previously deselected package rbot.
Unpacking rbot (from .../archives/rbot_0.9.10-1_all.deb) ...
Setting up libdb4.3-ruby1.8 (0.5.8-1) ...
Setting up libopenssl-ruby1.8 (1.8.5-2) ...
Setting up ruby1.8 (1.8.5-2) ...
Setting up ruby (1.8.2-1) ...
Setting up rbot (0.9.10-1) ...
# exit
$ rbot
D, [2006/10/18 11:48:13#27577] DEBUG -- ircbot.rb:60: debug test
I, [2006/10/18 11:48:13#27577] INFO -- ircbot.rb:61: log test
W, [2006/10/18 11:48:13#27577] WARN -- ircbot.rb:62: warning test
E, [2006/10/18 11:48:13#27577] ERROR -- ircbot.rb:63: error test
F, [2006/10/18 11:48:13#27577] FATAL -- ircbot.rb:64: fatal test
D, [2006/10/18 11:48:13#27577] DEBUG -- rbotconfig.rb:16: trying to load rubygems
D, [2006/10/18 11:48:13#27577] DEBUG -- rbotconfig.rb:33: no rubygems installed
I, [2006/10/18 11:48:14#27577] INFO -- ircbot.rb:240:in `initialize': no /home/ant/.rbot directory found, creating from templates..
First time rbot configuration wizard
====================================
This is the first time you have run rbot with a config directory of:
/home/ant/.rbot
This wizard will ask you a few questions to get you started.
The rest of rbot's configuration can be manipulated via IRC once
rbot is connected and you are auth'd.
-----------------------------------
Your password for maxing your auth with the bot (used to associate new hostmasks with your owner-status etc)
auth.password [rbotauth]: test
configured auth.password => test
-----------------------------------
The default level for new/unknown users
auth.default_level [10]:
configured auth.default_level => 10
-----------------------------------
what non nick-matching prefixes should the bot respond to as if addressed (e.g !, so that '!foo' is treated like 'rbot: foo')
core.address_prefix []: !rbot
configured core.address_prefix => !rbot
-----------------------------------
Which language file the bot should use [valid values are: english, dutch, russian, french, german]
core.language [english]:
configured core.language => english
-----------------------------------
What server should the bot connect to?
server.name [localhost]: test.edu
configured server.name => test.edu
-----------------------------------
What port should the bot connect to?
server.port [6667]:
configured server.port => 6667
-----------------------------------
Password for connecting to this server (if required)
server.password [false]:
configured server.password => false
-----------------------------------
Specific local host or IP for the bot to bind to (if required)
server.bindhost [false]:
configured server.bindhost => false
-----------------------------------
IRC nickname the bot should attempt to use
irc.nick [rbot]: Bender
configured irc.nick => Bender
-----------------------------------
local user the bot should appear to be
irc.user [rbot]:
configured irc.user => rbot
-----------------------------------
What channels the bot should always join at startup. List multiple channels using commas to separate. If a channel requires a password, use a space after the channel name. e.g: '#chan1, #chan2, #secretchan secritpass, #chan3'
irc.join_channels []: #linux
configured irc.join_channels => #linux
-----------------------------------
D, [2006/10/18 11:52:09#27577] DEBUG -- config.rb:406:in `save': Writing new conf.yaml ...
D, [2006/10/18 11:52:09#27577] DEBUG -- config.rb:414:in `save': Officializing conf.yaml ...
--
$ rbot
D, [2006/10/18 12:10:13#27953] DEBUG -- ircbot.rb:60: debug test
I, [2006/10/18 12:10:13#27953] INFO -- ircbot.rb:61: log test
W, [2006/10/18 12:10:13#27953] WARN -- ircbot.rb:62: warning test
E, [2006/10/18 12:10:13#27953] ERROR -- ircbot.rb:63: error test
F, [2006/10/18 12:10:13#27953] FATAL -- ircbot.rb:64: fatal test
D, [2006/10/18 12:10:13#27953] DEBUG -- rbotconfig.rb:16: trying to load rubygems
D, [2006/10/18 12:10:13#27953] DEBUG -- rbotconfig.rb:33: no rubygems installed