1 |
#! /path/to/executable/eggdrop -ptclscript |
2 |
# ^- set that to the directory eggdrop is in ie "#! /home/lamest/egg/eggdrop" |
3 |
# Make sure you preload a config parser using the -p<name> parameter. |
4 |
# |
5 |
# $Id: eggdrop.simple.conf,v 1.24 2002/05/21 21:23:01 stdarg Exp $ |
6 |
# |
7 |
# This is a sample configuration file for your bot. You will definitely |
8 |
# want to edit this, to set up your bot. Right now it creates a bot called |
9 |
# "LamestBot" which sits on channel #lamest. |
10 |
# |
11 |
# more options can be found in files in doc/settings/ |
12 |
# |
13 |
# IMPORTANT: Remember to make install and cd to the directory it created |
14 |
# (~/eggdrop by default) before you continue, running the bot from |
15 |
# eggdrop1.6.x/ will not work. |
16 |
# |
17 |
# PLEASE EDIT THIS FILE COMPLETELY! YOUR BOT WILL NOT FUNCTION PROPERLY IF |
18 |
# YOU DO NOT CONFIGURE IT CORRECTLY! WE CAN NOT STRESS THIS ENOUGH! |
19 |
|
20 |
# don't edit these 12 lines now!! |
21 |
set mod_path "modules/" |
22 |
set help_path "help/" |
23 |
set text_path "text/" |
24 |
loadmodule channels |
25 |
loadmodule server |
26 |
loadmodule ctcp |
27 |
loadmodule irc |
28 |
loadmodule notes |
29 |
loadmodule console |
30 |
loadmodule uptime |
31 |
loadmodule blowfish |
32 |
|
33 |
# start configuring here! |
34 |
|
35 |
##### variables: |
36 |
set nick "Lamestbot" |
37 |
# the nick of the bot, that which it uses on IRC, and on the botnet |
38 |
# unless you specify a sperate botnet-nick |
39 |
|
40 |
set altnick "Llamab?t" |
41 |
# an alternative nick to use if the nick specified by 'set nick' is |
42 |
# unavailable. All '?' characters will be replaced by a random number. |
43 |
|
44 |
set realname "/msg LamestBot hello" |
45 |
# what to display in the real-name field for the bot |
46 |
|
47 |
# tcl code to run (if any) when first connecting to a server |
48 |
|
49 |
bind event - init-server event:init_server |
50 |
|
51 |
proc event:init_server {type} { |
52 |
global botnick |
53 |
putserv -quick "MODE $botnick +i-ws" |
54 |
} |
55 |
|
56 |
# the server list -- the bot will start at the first server listed, and cycle |
57 |
# through them whenever it's disconnected |
58 |
# (please note: you need to change these servers to YOUR network's servers) |
59 |
|
60 |
# server_add <host> [port] [pass] <-- port and pass are optional |
61 |
server_add "you.need.to.change.this" 6667 |
62 |
server_add "and.this.too" 6668 |
63 |
|
64 |
channel add #lamest { |
65 |
chanmode "+nt-likm" |
66 |
idle-kick 0 |
67 |
stopnethack-mode 0 |
68 |
} |
69 |
|
70 |
channel set #lamest +enforcebans +dynamicbans +userbans +honor-global-bans |
71 |
channel set #lamest +dynamicexempts +userexempts +honor-global-exempts |
72 |
channel set #lamest +dynamicinvites +userinvites +honor-global-invites |
73 |
channel set #lamest -autoop -bitch +protectops +protectfriends +dontkickops |
74 |
channel set #lamest +greet +statuslog |
75 |
channel set #lamest +revenge +autovoice |
76 |
channel set #lamest -secret -shared +cycle |
77 |
channel set #lamest -inactive +nodesynch |
78 |
|
79 |
# Uncomment and edit one pair of the folowing files for network specific |
80 |
# features. |
81 |
source nettype/custom.server.conf |
82 |
#source nettype/dalnet.server.conf |
83 |
#source nettype/efnet.server.conf |
84 |
#source nettype/hybridefnet.server.conf |
85 |
#source nettype/ircnet.server.conf |
86 |
#source nettype/undernet.server.conf |
87 |
source nettype/custom.irc.conf |
88 |
#source nettype/dalnet.irc.conf |
89 |
#source nettype/efnet.irc.conf |
90 |
#source nettype/hybridefnet.irc.conf |
91 |
#source nettype/ircnet.irc.conf |
92 |
#source nettype/undernet.irc.conf |
93 |
|
94 |
|
95 |
# various stuff... |
96 |
|
97 |
listen 3333 all |
98 |
# set here the port where eggdrop should listen von telnet connections |
99 |
|
100 |
#set owner "MrLame, MrsLame" |
101 |
# set here the list of owners of the bot |
102 |
|
103 |
|
104 |
# files & directories |
105 |
|
106 |
set userfile "LamestBot.user" |
107 |
set chanfile "LamestBot.chan" |
108 |
set temp_path "/tmp" |
109 |
logfile msbxco * "logs/eggdrop.log" |
110 |
logfile jpk #lamest "logs/lamest.log" |
111 |
|
112 |
|
113 |
# default console flags |
114 |
set console "mkcobxs" |
115 |
|
116 |
|
117 |
# you have to remove this line to make your bot work |
118 |
die "you didn't edit your config file! that's a NO NO" |
119 |
|
120 |
##### SCRIPTS ##### |
121 |
|
122 |
# these are some commonly loaded (and needed) scripts. |
123 |
source scripts/alltools.tcl |
124 |
source scripts/action.fix.tcl |
125 |
source scripts/compat.tcl |
126 |
source scripts/userinfo.tcl |
127 |
loadhelp userinfo.help |