HOWTO Eggdrop
De Gentoo Linux Wiki
| Kernel & Hardware • Red y Servicios • Portage • Relacionado con el Sistema • Servidor X • Juegos • Misceláneos |
Tabla de contenidos |
[editar] Instalación
emerge eggdrop
[editar] Añadir un eggdrop para tu usuario
$ eggdrop-installer <nombre-del-bot>
[editar] Configuración
Edita ésta configuración y guárdala.
| Archivo: |
#!/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
}
|
Configuración de aquí
Entonces cambia los persmisos a 755.
chmod 755 eggdrop.conf
[editar] Iniciando tu bot
[editar] La primera vez
En su primer inicio, ejecuta: eggdrop -m eggdrop.conf
Eggdrop te preguntará para entrar en el servidor de IRC y mándale un mensaje, para identificarte como el dueño del bot.
Cuando te conectes escribe:
/msg nick-del-bot hello (deberías recibir un notice del bot)
entonces escribe:
/msg nick-del-bot pass password
Después abre un DCC Chat con el bot (/dcc chat nick-of-the-bot)
y escribe .save
desde ahora no necesitarás usar la opción -m cuando lo inicies.
[editar] La segunda vez
Desde ahora puedes arrancar el eggdrop simpleemnte ejecutando el archivo de configuración
./eggdrop eggdrop.conf
y si todo va bien, arrancará.
[editar] Más información
Documentación Oficial del Eggdrop.
Para más información del Eggdrop, visita su página oficial en www.eggheads.org.
Otro buen sitio para conseguir ayuda sobre el Eggdrop www.egghelp.org.
