Sunday 21 August 2011

Install And Configure eggdrop (mIRC Bot)

1. SSH ke shell masing-masing atau dlm ubuntu boleh buka terminal :)
2. wget  ftp://eggdrop.risingnet.net/pub/eggheads/eggdrop/source/1.6/eggdrop1.6.19+ctcpfix.tar.gz
3. tar xvfz eggdrop1.6.19+ctcpfix.tar.gz
4. ./configure
5. make config
6. make
7. make install DEST=~/botdir
8. cd ..
9. cd botdir
10. pico lisa.conf
11. dlm lisa.conf paste configure file bawah ini:-

loadmodule channels
set mod-path "modules/"
loadmodule server
loadmodule ctcp
loadmodule irc
loadmodule notes
loadmodule console
loadmodule blowfish
set username "lisa"
set realname "Powered by RileksCrew"
set admin "shah"
set network "kampungchat"
set timezone "EST"
set userfile "Egg.user"
set chanfile "Egg.chan"
listen 3333 all
set nick "lisa^surihani"
set altnick "lisa_surihani"
#set my-ip "0.0.0.0"
#set my-hostname "0.0.0.0"
set servers {
irc.kampungchat.org:6667
}
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
 global botnick
putquick "MODE $botnick +Bi-Tws"
}
channel add #hackers {
chanmode "+nt"
}
logfile mcso * "logs/Egg.log"
set log-time 1
set switch-logfiles-at 300
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
set remote-boots 2
set share-unlinks 1
set ident-timeout 5
set answer-ctcp 3
set server-cycle-wait 60
set server-timeout 60
set serverror-quit 1
set bounce-bans 1
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help
set max-notes 50
set note-life 60
set notify-onjoin 1
set console-autosave 1

12. tekan CTRL+X dan Y utk save configure file
13. run eggdrop dgn cmd ./eggdrop -m lisa.conf
14. Tengok di  channel #hackers dan private message bot anda "hello" dan masukkan password anda supaya bot anda set host anda :)

No comments:

Post a Comment