Du må være registrert og logget inn for å kunne legge ut innlegg på freak.no
X
LOGG INN
... eller du kan registrere deg nå
Dette nettstedet er avhengig av annonseinntekter for å holde driften og videre utvikling igang. Vi liker ikke reklame heller, men alternativene er ikke mange. Vær snill å vurder å slå av annonseblokkering, eller å abonnere på en reklamefri utgave av nettstedet.
  5 1657
Jeg har ferdig konfigurert config filen til eggdrop, slik ser den ut:

#! /home/sharken/eggdrop
# ^- set that to the directory eggdrop is in ie "#! /home/lamest/egg/eggdrop"
#
# $Id: eggdrop.simple.conf,v 1.8 2000/11/06 04:06:40 guppy Exp $
#
# This is a sample configuration file for your bot. You will definitely
# want to edit this, to set up your bot. Right now it creates a bot called
# "LamestBot" which sits on channel #lamest.
#
# more options can be found in files in doc/settings/
#
# IMPORTANT: Remember to make install and cd to the directory it created
# (~/eggdrop by default) before you continue, running the bot from
# eggdrop1.6.x/ will not work.
#
# PLEASE EDIT THIS FILE COMPLETELY! YOUR BOT WILL NOT FUNCTION PROPERLY IF
# YOU DO NOT CONFIGURE IT CORRECTLY! WE CAN NOT STRESS THIS ENOUGH!

# don't edit those 9 lines now!!
set mod-path "modules/"
set help-path "help/"
loadmodule dns
loadmodule channels
loadmodule server
loadmodule ctcp
loadmodule irc
loadmodule notes
loadmodule console
checkmodule blowfish

# start configuring here!

##### variables:
set nick "gosu"
# the nick of the bot, that which it uses on IRC, and on the botnet
# unless you specify a sperate botnet-nick

set altnick "gosu-"
# an alternative nick to use if the nick specified by 'set nick' is
# unavailable. All '?' characters will be replaced by a random number.

set realname "a part of sharken's botnet"
# what to display in the real-name field for the bot

set servers {
irc.homelien.no:6667
irc.du.se:6667
irc.daxnet.no:6667
irc2.homelien.no:6667
irc.arcti.ca:6667
irc.magic.ca:6667
}
# 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)

channel add #oppegård {
chanmode "+nst"
idle-kick 0
stopnethack-mode 0
}

channel set #oppegård -enforcebans -dynamicbans +userbans
channel set #oppegård -dynamicexempts +userexempts -dynamicinvites +userinvites
channel set #oppegård +autoop -bitch +protectops +protectfriends +dontkickops
channel set #oppegård -greet -statuslog
channel set #oppegård -revenge +autovoice
channel set #oppegård -secret -shared +cycle
channel set #oppegård +inactive +seen +nodesynch

channel add #pwd {
chanmode "+nst"
idle-kick 0
stopnethack-mode 0
}

channel set #pwd -enforcebans -dynamicbans +userbans
channel set #pwd -dynamicexempts +userexempts -dynamicinvites +userinvites
channel set #pwd +autoop -bitch +protectops +protectfriends +dontkickops
channel set #pwd -greet -statuslog
channel set #pwd -revenge +autovoice
channel set #pwd -secret -shared +cycle
channel set #pwd +inactive +seen +nodesynch

channel add #gseweb {
chanmode "+nst"
idle-kick 0
stopnethack-mode 0
}

channel set #gseweb -enforcebans -dynamicbans +userbans
channel set #gseweb -dynamicexempts +userexempts -dynamicinvites +userinvites
channel set #gseweb +autoop -bitch +protectops +protectfriends +dontkickops
channel set #gseweb -greet -statuslog
channel set #gseweb -revenge +autovoice
channel set #gseweb -secret -shared +cycle
channel set #gseweb +inactive +seen +nodesynch

channel add #sharken {
chanmode "+nst"
idle-kick 0
stopnethack-mode 0
}

channel set #sharken -enforcebans -dynamicbans +userbans
channel set #sharken -dynamicexempts +userexempts -dynamicinvites +userinvites
channel set #sharken +autoop -bitch +protectops +protectfriends +dontkickops
channel set #sharken -greet -statuslog
channel set #sharken -revenge +autovoice
channel set #sharken -secret -shared +cycle
channel set #sharken +inactive +seen +nodesynch

set net-type 0
# set here your network
# [0/1/2/3/4/5] What is your network?
# 0 = Efnet (non +e/+I hybrid), 1 = IRCnet, 2 = Undernet, 3 = Dalnet,
# 4 = Efnet +e/+I hybrid, 5 = Others


# various stuff...

listen 3333 all
# set here the port where eggdrop should listen von telnet connections

set owner "sharken"
# set here the list of owners of the bot


# files & directories

set userfile "LamestBot.user"
set chanfile "LamestBot.chan"
set temp-path "/tmp"
logfile msbxco * "logs/eggdrop.log"
logfile jpk #lamest "logs/lamest.log"


# you have to remove this line to make your bot work
#die "you didn't edit your config file! that's a NO NO"

##### SCRIPTS #####

# these are some commonly loaded (and needed) scripts.
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/compat.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help


Så upper jeg til shellet mitt, og prøver å starte det, så kommer følgende feil:
improbable
Gusto's Avatar
DonorAdministrator
dette skal jo egentlig virke, men prøv å skrive:

channel set #oppegård -enforcebans
channel set #oppegård -dynamicbans
channel set #oppegård +userbans

istedenfor

channel set #oppegård -enforcebans -dynamicbans +userbans
Trådstarter
Har prøvd med det, kommer samme error, virker som han prøver å sette moden, men så oppdager han at han ikke er på kanalen, og da kommer han opp med erroren, selv om det står foran at han skal joine kanalen først.

Har forresten prøvd på to forskjellige shells, et Red Hat 7.1 og et Slackware 8.0, samme error på begge.
improbable
Gusto's Avatar
DonorAdministrator
du kan prøve å installere eggdroppen på nytt igjen. har sikkert ingenting å si, men verdt et forsøk.
Ordenens Seglbevarer
Ond^Sofa's Avatar
Uhm, sikker på at det ikke er no problem med 'å' ?
improbable
Gusto's Avatar
DonorAdministrator
nei, det er det ikke. jeg lagde nettopp en kanal med boten kalt #ååå. det virket fint.
Sist endret av Gusto; 24. oktober 2001 kl. 23:42.