Monday, 5 August 2013

How To Setup Eggdrop?

Filled under: ,

How To Setup Eggdrop?

- Download eggdrop1.6.21.tar.gz in your shell:

to download type: wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.21.tar.gz

- then type: tar -zxvf eggdrop1.6.21.tar.gz

- then type: cd eggdrop1.6.21

- then type: ./configure

- then type: make config (compiles all modules) or make iconfig (allows you to select the modules to compile).

- then type: make

- then type: pico -w egg.conf

- now copy and paste the following lines in it:

set username _______ # replace with anything you want
set admin "________ " # replace with anything you want
set owner ________ # replace with anything you want
set nick "_______" # replace with botnick you want

set timezone "CET"
set offset "-1"

set realname "Real name" # replace with anything you want
set my-ip "66.252.13.2" # replace with vhost ip what ever you want to select.
listen 13381 all # it is the bot telnet port, you can telnet on this port and control the bot

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

set network EFnet #make it dalnet if you want to connect the bot to dalnet or undernet etc.
addlang english

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

##### CONSOLE #####

set console "mcobxs"

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

if {![file isdirectory $nick]} {
catch { exec mkdir $nick }
}

foreach file {user chan note pid} {
if {[file isdirectory $nick]} {
set ${file}file $nick/${file}file
} else {
set ${file}file $nick.${file}
}
}

set sort-users 1
set help-path "help/"
set text-path "text/"
set temp-path "/tmp/"

foreach path {help text temp} {
if {![info exists $path-path]} {
catch { exec mkdir $path-path }
}
}
set motd ""
set telnet-banner ""
set userfile-perm 0600

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

set botnet-nick $nick
set remote-boots 1
set share-unlinks 1
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 1
set open-telnets 0
set stealth-telnets 1
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 ignore-time 15
set hourly-updates 00
set notify-newusers ""
set default-flags ""
set whois-fields ""
set die-on-sighup 0
set die-on-sigterm 1

bind dcc n tcl *dcc:tcl
bind dcc n set *dcc:set

set must-be-owner 1
set max-dcc 50
set allow-dk-cmds 1
set dupwait-timeout 5

##### MODULES #####
set mod-path "modules/"

loadmodule dns
loadmodule channels

set force-expire 0
set share-greet 1
set use-info 1

set global-flood-chan 5:1
set global-flood-deop 2:1
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 ""
set global-stopnethack-mode 0
set global-revenge-mode 0
foreach var {ban exempt invite} {
set global-$var-time [expr {60 + [rand 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
}

#### SERVER MODULE ####

loadmodule server
set net-type 0
set altnick [string range $nick 0 7]\

bind evnt - init-server evnt:init_server

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

set default-port 6667

# Replace the below server list with servers of your network, it should be fine for efnet.
set _servers {
"irc.torix.ca:6667"
"irc.isdnet.fr:6667"
"efnet.skynet.be:6667"
}

while {[llength $_servers]} {
set index [rand [llength $_servers]]
lappend servers [lindex $_servers $index]
set _servers [lreplace $_servers $index $index]
}

set keep-nick 1
set strict-host 1
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 30
set server-timeout 30
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 1
set stack-limit 4

#### CTCP MODULE ####

loadmodule ctcp
set ctcp-mode 0

#### IRC MODULE ####

loadmodule irc
set bounce-bans 1
set bounce-modes 0
set max-bans 20
set max-modes 30
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 60

set mode-buf-length 200
set no-chanrec-info 0

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

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
#set use-exempts 0
#set use-invites 0
set prevent-mixing 1

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

#set kick-method 1
#set modes-per-line 3
#set include-lk 1
#set use-354 0
#set rfc-compliant 1

#### TRANSFER MODULE ####

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

#### SHARE MODULE ####

loadmodule share
set allow-resync 0
#set resync-time 900
#set private-global 0
#set private-globals "mnot"
#set private-user 0
#set override-bots 0

#### COMPRESS MODULE ####

loadmodule compress
set share-compressed 1
set compress-level 9

#### FILESYSTEM MODULE ####

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

#### NOTES MODULE ####

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

#### CONSOLE MODULE ####

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

#### BLOWFISH MODULE ####

checkmodule blowfish

##### SCRIPTS #####

source scripts/alltools.tcl
source scripts/action.fix.tcl


- Now Save the file, to save type: ctrl + x

- Now once it is saved, it's time to start the eggdrop, type: ./eggdrop -m egg.conf

I hope this tutorial helps.

0 comments:

Post a Comment