View Single Post
Old 07-17-2007, 03:26 PM  
jojo2peter
Junior Member
 
Join Date: Jun 2006
Posts: 20
Default

my eggdrop.conf
Code:
##### BASIC SETTINGS ##### 

set username "sitebot"

set admin "jojo2peter  <email: lamer@sitebot.lame.org>"

set network "eu.undernet.org"
set timezone "GMT"
set offset "5"
set my-hostname "localhost"
set my-ip "127.0.0.1"
addlang "german"


##### LOG FILES #####

set max-logs 5
set max-logsize 0
set quick-logs 0
set raw-log 0
logfile mco * "logs/eggdrop.log"
logfile jpk #sitebot "logs/sitebot.log"
set log-time 1
set keep-all-logs 0
set logfile-suffix ".%d%b%Y"
set switch-logfiles-at 300
set quiet-save 0

##### CONSOLE #####

set console "mkcobxs"

##### FILES AND DIRECTORIES #####

set userfile "sitebot.user"
set sort-users 0
set help-path "help/"
set text-path "text/"
set temp-path "tmp/"
set motd "text/motd"
set telnet-banner "text/banner"
set userfile-perm 0600


##### BOTNET/DCC/TELNET #####

# If you want to use a different nickname on the botnet than you use on
# IRC (i.e. if you're on an un-trusted botnet), un-comment the next line
# and set it to the nick you would like to use.
#set botnet-nick "LlamaBot"

listen 6667 all

set remote-boots 2
set share-unlinks 1
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

##### MORE ADVANCED SETTINGS #####

# Set this to your socks host if your Eggdrop sits behind a firewall. If
# you use a Sun "telnet passthru" firewall, prefix the host with a '!'.
#set firewall "!sun-barr.ebay:3666"

# If you have a NAT firewall (you box has an IP in one of the following
# ranges: 192.168.0.0-192.168.255.255, 172.16.0.0-172.31.255.255,
# 10.0.0.0-10.255.255.255 and your firewall transparently changes your
# address to a unique address for your box) or you have IP masquerading
# between you and the rest of the world, and /dcc chat, /ctcp chat or
# userfile sharing aren't working, enter your outside IP here. This IP
# is used for transfers only, and has nothing to do with the my-ip or
# my-hostname settings. You may still need to set my-ip and/or my-hostname.
#set nat-ip "192.168.0.145"

# If you want all dcc file transfers to use a particular portrange either
# because you're behind a firewall, or for other security reasons, set it
# here.
#set reserved-portrange 2010:2020

set ignore-time 15
set hourly-updates 00
set owner "jojo2peter"
set notify-newusers "$owner"
set default-flags "hp"
set whois-fields "url birthday"
set die-on-sighup 0
set die-on-sigterm 1

unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 1
unbind dcc n simul *dcc:simul
set max-dcc 50

set allow-dk-cmds 1
set dupwait-timeout 5


##### MODULES #####

set mod-path "modules/"


#### DNS MODULE ####

loadmodule dns


#### CHANNELS MODULE ####

loadmodule channels
set chanfile "sitebot.chan"
set force-expire 0

set share-greet 0
set use-info 1
set global-flood-chan 10:60
set global-flood-deop 3:10
set global-flood-kick 3:10
set global-flood-join 5:60
set global-flood-ctcp 3:60
set global-flood-nick 5:60
set global-aop-delay 5:30
set global-idle-kick 0
set global-chanmode "nt"
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 120
set global-exempt-time 60
set global-invite-time 60

set global-chanset {
        +autoop         +autovoice
        -*****          +cycle
        +dontkickops    +dynamicbans
        +dynamicexempts +dynamicinvites
        -enforcebans    +greet
        -inactive       -nodesynch
        -protectfriends +protectops
        -revenge        -revengebot
        -secret         -seen
        +shared         +statuslog
        +userbans       +userexempts
        +userinvites    -protecthalfops
        -autohalfop
}

    channel add #sitebot {
      chanmode "+nt-likm"
      idle-kick 0
      stopnethack-mode 0
      revenge-mode 0
      ban-time 120
      exempt-time 60
      invite-time 60
      aop-delay 5:30
      need-op { putserv "PRIVMSG #sitebot :op me cos i'm lame!" }
      need-invite { putserv "PRIVMSG #sitebot :let me in!" }
      need-key { putserv "PRIVMSG #sitebot :let me in!" }
      need-unban { putserv "PRIVMSG #sitebot :let me in!" }
      need-limit { putserv "PRIVMSG #sitebot :let me in!" }
      flood-chan 10:60
      flood-deop 3:10
      flood-kick 3:10
      flood-join 5:60
      flood-ctcp 3:60
      flood-nick 5:60
    }



#### SERVER MODULE ####

loadmodule server
set net-type 2
set nick "sitebot"
set altnick "sitebot_"
set realname "sitebot"
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
}

set default-port 6667

set servers {
eu.undernet.org
}

set keep-nick 1
set strict-host 0
set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 5:60
set flood-ctcp 3:60
set never-give-up 1
set server-cycle-wait 60
set server-timeout 60
set servlimit 0
set check-stoned 1
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set exclusive-binds 0
set double-mode 1
set double-server 1
set double-help 1
set optimize-kicks 1
set stack-limit 4

### SERVER MODULE - OTHER NETWORKS (net-type 5) ###

# This settings defines how umode +r is understood by Eggdrop. Some networks
# use +r to indicate a restricted connection. If this is your case, and you
# want your bot to leave restricted servers and jump to the next server on its
# list, then set it to 1.
#set check-mode-r 1

# This setting allows you to specify the maximum nick-length supported by your
# network. The default setting is 9. The maximum supported length by Eggdrop
# is 32.
#set nick-len 9

#### CTCP MODULE ####

loadmodule ctcp
set ctcp-mode 0

#### IRC MODULE ####

loadmodule irc
set bounce-bans 1
set bounce-exempts 0
set bounce-invites 0
set bounce-modes 0
set max-bans 30
set max-exempts 20
set max-invites 20
set max-modes 30
set use-invites 1
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
set opchars "@"
#set opchars "@&~"
set no-chanrec-info 0

### IRC MODULE - IRCnet SPECIFIC FEATURES (net-type 1) ###
set prevent-mixing 1

### IRC MODULE - OTHER NETWORKS (net-type 5) ###

#### TRANSFER MODULE ####

loadmodule transfer
set max-dloads 3
set dcc-block 0
set copy-to-tmp 1
set xfer-timeout 30

#### FILESYSTEM MODULE ####

set files-path "filesys/"
set incoming-path "filesys/incoming/"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024


#### NOTES MODULE ####

loadmodule notes
set notefile "sitebot.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#### CONSOLE MODULE ####

loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#### BLOWFISH MODULE ####

loadmodule blowfish

#### UPTIME MODULE ####

loadmodule uptime

##### SCRIPTS #####

source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help

##### WINDROP SCRIPTS #####

source scripts/winident1.2.tcl
source scripts/ioBanana.tcl
jojo2peter is offline   Reply With Quote