HOWTO Eggdrop
De Gentoo Linux Wiki
Tabela de conteúdo |
[editar] Instalar
emerge eggdrop
.....
[editar] Adicionar um eggdrop a um user
$ eggdrop-installer <bot-name>
[editar] Configuracao
Edite este ficheiro de configuracao e salve-o.
| Arquivo: |
#!/opt/eggdrop/eggdrop
# ^- set that to where the eggdrop bin is.
# Important : Set the bot nick
set nick "nickbot"
# The altnick
set altnick "nickbot_"
# The username of the bot
set username "nickbotuser"
# The RealName :
set realname "Bot of the owner"
# what IRC network are you on? this is just info to share with others on
# your botnet, for human curiosity only.
set network "I.didnt.edit.my.config.file.net"
# in 'eggdrop.log' put private msgs/ctcps, commands, misc info, and
# errors from any channel:
logfile mco * "eggdrop.log"
# in 'lame.log' put joins, parts, kicks, bans, and mode changes from
#lamest:
logfile jk #lamest "lamest.log"
#Here you need to change #lamest to whatever channel your bot is going to be on. You can also rename "lamest.log" to "channelname.log"
# if compiled with owner, the following user(s) will ALWAYS have the
# owner (+n) flag (You really should change this default)
set owner "MrLame, MrsLame"
# the server list -- the bot will start at the first server listed, and cycle
# through them whenever it's disconnected
# (please note: you need to change these servers to YOUR network's servers)
set servers {
you.need.to.change.this:6667
}
|
Entao mode as permissoes do fichiro chmod 755 assim.
chmod 755 eggdrop.conf
[editar] iniciar o seu bot
[editar] A primeira vez
Para o primeiro vez que inicie o eggdrop, use este comando: ./eggdrop -m name-do-ficehrio-de-configuracao.conf
O Eggdrop entam pedira para enviar-lhe uma mensagem para registrar-se como proprietario do bot.
Quando estiver conectado:
/msg nick-do-bot hello (deve depois esperar uma notice do bot)
depois:
/msg nick-do-bot pass password
Depois, abra o DCC Chat com o bot (/dcc chat nick-do-bot) depois .save from this time on you don't need to use the -m option when starting it
[editar] A segunda vez
A partir de agora pode correr o seu eggdrop a partir deste simples comando
./eggdrop name-do-ficehrio-de-configuracao.conf
e ele depois ira sempre iniciar.
[editar] Mais Informacoes
Documentos oficiais do eggdrop em here.
Outro bom site para Eggdrop é www.egghelp.org.
