|
iroffer has two modes for running: foreground (the default) and background.
When iroffer is started in foreground mode, you can monitor and interact with the program from your shell. It will allow you to issue admin commands. However you must stay logged in (or use a program such as screen) or iroffer will exit.
$ ./iroffer mybot.config
Welcome to iroffer by PMG - http://iroffer.org/
Version 1.3.b09 [20040823145936]
** iroffer is distributed under the GNU General Public License.
** please see the README for more information.
** Starting up...
** Window Size: 80x42
** Started on: 2004-08-30-14:54:24
** Loading mybot.config ...
** Checking for completeness of config file ...
** You Are Running Linux 2.4.25 on a i686, Good
** Loading State File...
** State File: Too small, Skipping
** Writing pid file...
** Attempting Connection to 10.200.202.70 (direct)
** Server Connection Established, Logging In
** Server welcome: :alliance.centerclick.org 001 testDCC :Welcome to the
centerclick.org Internet Relay Chat Network testDCC
[ Stat: 0/0 Sls, 0/0 Q, 0.0K/s Rcd, 0 SrQ (Bdw: 0K, 0.0K/s, 0.0K/s Rcd) ]
[ iroffer (testDCC) > ]
When iroffer is started in background mode, it will place itself in the background and return you to your shell prompt immediately. iroffer will then run unattened and allow you to log off of your shell. In order to interact with the program you will need to issue admin commands through a /msg or via DCC CHAT.
$ ./iroffer -b mybot.config
Welcome to iroffer by PMG - http://iroffer.org/
Version 1.3.b09 [20040823145936]
** iroffer is distributed under the GNU General Public License.
** please see the README for more information.
** Starting up...
** Started on: 2004-08-30-14:56:08
** Loading mybot.config ...
** Checking for completeness of config file ...
** You Are Running Linux 2.4.25 on a i686, Good
** Entering Background Mode
** All Commands must be issued by remote administration
Wait for it to join irc and then DCC CHAT it. See signal handling for some notes about background mode.
|