#! /path/to/executable/eggdrop
# ^- This should contain a fully qualified path to your Eggdrop executable.
#
# $Id: eggdrop.conf,v 1.26 2003/04/17 04:38:33 wcc Exp $
#


##### SETARI DE BAZA #####

# Identul pe care o sa il aiba botul
set username "sinzi"

# Seteaza informatile care vor fii afisate despre admin
#set admin "kurupt" <email: dpgc@purehype.net>"

# Network 
set network "IRCHaven"

# Fus orar (Europa Centrala)
set timezone "CET"

# Fus orar (Romania GMT+2)
set offset "+2"

# Modifica urmatoarele linii!!
#set my-hostname "london.uk.eu.undernet.uk.to"
#set my-ip "64.251.5.37"

##### LOGURI #####

# Numarul maxim de loguri
set max-logs 5

# Marimea maxima a logurilor
set max-logsize 0

# Nu modificati urmatoarele 2 linii !
set quick-logs 0
set raw-log 0

# Numele fisierului *.log pentru erori, comenzi, private ale EggDropului
logfile mco * "logs/draco.log"

# Numele fisierului *.log pentru canalul specificat
logfile jpk #eggdrop "logs/eggdrop.log"

# Nu modificat urmatoarele 5 linii !
set log-time 1
set keep-all-logs 0
set logfile-suffix ".\%d\%b\%Y"
set switch-logfiles-at 300
set quiet-save 0


##### CONSOLA #####

# Nu modificati urmatoare linie !
set console "mkcobxs"


##### FISIERE SI DIRECTOARE #####

# Numele fisierului cu userii Eggdropului
set userfile "Draco.user"

# Numele fisierului unde va fi scris pid-ul EggDrop-ului
set pidfile "pid.Draco"

# Sorteaza userii dupa nume
set sort-users 0

# Calea catre fisierele HELP implicit help/ 
set help-path "help/"

# Calea catre fisierele TEXT implicit text/
set text-path "text/"

# Directorul temporar
set temp-path "tmp/"

# Mesajul zilei
set motd "text/motd"

# Banerul ce va fii afisat cand ne conectam prin telnet
set telnet-banner "text/banner"

# Nu modificati urmatoarea linie !
set userfile-perm 0600


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

# Portul prin care EggDropul se va conecta cu alti boti sau poate fi accesat prin telnet
listen 11687 all

#   0 - inchide accesul altor boti la el
#   1 - deschide accesul botilor linkati cu el
#   2 - permite accesul tuturor botilor
set remote-boots 2

# Nu modificati urmatoarele 13 linii !
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


##### OPTIUNI AVANSATE #####

# Cat timp da EggDropul ignore unui user care il floodeaza cu text/comenzi 
set ignore-time 15

# Seteaza ownerii
set owner "kurupt"

# Nu modificat urmatoarele 12 linii !
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


##### MODULE #####

# Calea catre directorul cu module
set mod-path "modules/"


#### DNS MODULE ####

# Activeaza modulele pentru DNS
loadmodule dns


#### MODULE DE CANAL ####

# Se foloseste pentru a putea face botul sa intre si pe alta canale decat cel implicit
loadmodule channels

# Numele fisierului pentru logurile canalelor dinamice
set chanfile "Draco.chan"

# Nu modificat urmatoarele 32 de linii !
set force-expire 1
set share-greet 1
set use-info 0
set global-flood-chan 1:0
set global-flood-deop 3:6
set global-flood-kick 1:0
set global-flood-join 1:0
set global-flood-ctcp 1:0
set global-flood-nick 1:0
set global-aop-delay 1:0
set global-idle-kick 0
set global-chanmode "nt"
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 0
set global-exempt-time 60
set global-invite-time 60
set global-chanset {
        -autoop         -autovoice
        -bitch          +cycle
        +dontkickops    -dynamicbans
        +dynamicexempts +dynamicinvites
        +enforcebans    -greet
        -inactive       -nodesynch
        -protectfriends +protectops
        -revenge        -revengebot
        -secret         -seen
        +shared         -statuslog
        +userbans       +userexempts
        +userinvites    -protecthalfops
        -autohalfop
}

    channel add #eggdrop {
      chanmode "+nt"
      idle-kick 0
      stopnethack-mode 0
      revenge-mode 0
      ban-time 120
      exempt-time 60
      invite-time 60
      aop-delay 5:30
      flood-chan 10:60
      flood-deop 3:10
      flood-kick 3:10
      flood-join 5:60
      flood-ctcp 3:60
      flood-nick 5:60
    }

   channel set #eggdrop -enforcebans +dynamicbans +userbans +dynamicexempts
   channel set #eggdrop +userexempts +dynamicinvites +userinvites +protectops
   channel set #eggdrop -protectfriends +statuslog -revenge -protecthalfops
   channel set #eggdrop -revengebot +dontkickops -autovoice -autoop -autohalfop
   channel set #eggdrop -bitch -secret +shared -greet +cycle


    channel add #lethe {
      chanmode "+nt"
      idle-kick 0
      stopnethack-mode 0
      revenge-mode 0
      ban-time 120
      exempt-time 60
      invite-time 60
      aop-delay 5:30
      flood-chan 10:60
      flood-deop 3:10
      flood-kick 3:10
      flood-join 5:60
      flood-ctcp 3:60
      flood-nick 5:60
    }

   channel set #lethe -enforcebans +dynamicbans +userbans +dynamicexempts
   channel set #lethe +userexempts +dynamicinvites +userinvites +protectops
   channel set #lethe -protectfriends +statuslog -revenge -protecthalfops
   channel set #lethe -revengebot +dontkickops -autovoice -autoop -autohalfop
   channel set #lethe -bitch -secret +shared -greet +cycle
   
#### SERVER MODULE ####

# Nu modificat urmatoarea linie !
loadmodule server

# Reteaua unde va fi conectat EggDropul
#   0 = EFnet (non +e/+I Hybrid)
#   1 = IRCnet
#   2 = Undernet
#   3 = DALnet
#   4 = +e/+I Hybrid
#   5 = Others
set net-type 5

# Nick-ul EggDrop-ului
set nick "Draco"

# Nick-ul alternativ al EggDropului
set altnick "Dra???"

# Real Name
set realname "2The Dragon"

# Nickul folosit in botnet de bot
set botnet-nick "Draco"

# Nu modificati urmatoarele 5 linii !
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
}

# Portul default pe care se va conecta EggDropul
set default-port 6667

# Serverele pe care va incerca sa se conecteze! Default is "server:port"
set servers {
  127.0.0.2:6667

}

# Nu modificatu urmatoarele 20 de randuri !
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 double-mode 0
set double-server 0
set double-help 0
set optimize-kicks 0
set stack-limit 4


#### CTCP MODULE ####

# Activeaza urmatorul modul
loadmodule ctcp

# Nu modificati urmatoare linie !
set ctcp-mode 0

# Raspunsul la VERSION
set ctcp-version "Starbots"

#### IRC MODULE ####

# Nu modificati urmatoarele 16 randuri !
loadmodule irc
set bounce-bans 1
set bounce-modes 0
set max-bans 30
set max-modes 30
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 - hello *msg:hello
bind msg - hello *msg:hello
unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
set no-chanrec-info 0


#### TRANSFER MODULE ####

# Nu modificati urmatoarele 5 randuri
loadmodule transfer
loadmodule share
set max-dloads 3
set dcc-block 0
set copy-to-tmp 1
set xfer-timeout 30


#### CONSOLE MODULE ####

# Nu modificati urmatoarele 4 randuri
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0


#### BLOWFISH MODULE ####

# Cripteaza fisierele cu useri
loadmodule blowfish


#### UPTIME MODULE ####

# Activeaza modulul pentru uptime
loadmodule uptime

##### SCRIPTURI #####

# Nu modificati urmatoarele 5 randuri !
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/compat.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help
