All pastes #906953 Raw Edit

trollbot.conf

public text v1 · immutable
·published 2008-02-17 03:08 UTC
rendered paste body
/* Comments can be c++ style or c */


//   global settings
//   {
//     fork <0 for no fork, 1 to fork>
//     debuglevel <0 none, 1 fatal, 2 error, 3 warn, 4 all, 5 debug>
//   }

global settings
{
        /* Go into the background on startup? */
  fork 0

        /* Do not output anything by troll_debug() */
  debuglevel 5

        /* Which hash type should users use by default
         * Existing users will be converted to this on
         * save
         */
        hash_type sha512
}


//   network <Network Label>
//   {
//     nick <nickname to use on network>
//     altnick <nickname to use if nick is taken>
//
//     realname <Whatever you want in your realname slot>
//
//     // The bot listens to this port for DCC/telnet for users
//     userlisten <Whatever port you want to listen on for DCC conole>
//
//     channel <channel to join>
//   }

network DALnet
{
                // Nick to use when connecting to network
    nick Trollbot
                // Alternative nickname to use, can contain ? for random numbers
    altnick Trollbot

                // Ident/Username to tell server
    ident rawr

                // Realname/GECOS
    realname "http://www.sourceforge.net/projects/trollbot"

                // This is the hostname Trollbot will try and connect from
                //vhost 192.168.2.6

                // Static Channels (Cannot be removed via DCC)
    channel #php

                // This is where network specific user/channel files are
    userfile db/userdb.DALnet
    chanfile db/chandb.DALnet

                // Which port should Trollbot listen on for the console
    userlisten 64121

                // Scripts to load
                tclscript scripts/test.tcl
    tclscript scripts/cryptoquote-1.02.tcl
    phpscript scripts/bmi.php
    phpscript scripts/mirckey.php
    phpscript scripts/test.php
    phpscript scripts/dnd.php
                javascript scripts/test.js
                javascript scripts/cocks.js

                // Servers:ports to try and connect to
    server irc.dal.net
}

network local
{
    nick Trollbot
    altnick TrollBot2

    vhost 192.168.0.4

    userfile db/userdb.local
    chanfile db/chandb.local

    javascript scripts/test.js

    channel #test

    tclscript scripts/test.tcl
    tclscript scripts/cryptoquote-1.02.tcl
    phpscript scripts/bmi.php
    phpscript scripts/mirckey.php
    phpscript scripts/test.php
    phpscript scripts/dnd.php
    javascript scripts/test.js

    server localhost
}