/[cvs]/eggdrop1.8/doc/TRICKS
ViewVC logotype

Contents of /eggdrop1.8/doc/TRICKS

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Mon Jul 26 21:11:06 2010 UTC (8 years, 8 months ago) by simple
Branch: eggheads, MAIN
CVS Tags: v1, HEAD
Branch point for: gettext
Changes since 1.1: +0 -0 lines
Imported Eggdrop 1.6.20

1 $Id: TRICKS,v 1.9 2010/01/03 13:27:22 pseudo Exp $
2
3 Eggdrop Tricks
4 Last revised: December 08, 2003
5 _____________________________________________________________________
6
7 Eggdrop Tricks
8
9
10 Here are some little tricks that you may or may not know about, which aren't
11 documented in other areas.
12
13 - You can rename a built-in command by binding over it. To rename '.status'
14 to '.report', you'd do:
15 unbind dcc - status *dcc:status
16 bind dcc m report *dcc:status
17
18 The first line removes the built-in binding on '.status', and the second
19 line binds '.report' to the built-in status function.
20
21 - If you don't want your logfiles to be deleted after two days and don't
22 want the bot to create a new logfile each new day, then set 'keep-all-logs'
23 to 0 and 'switch-logfiles-at' to 2500 in your bot's config file to make it
24 keeping one logfile all the time. This is not recommended on high traffic
25 channels.
26
27 - You can modify Eggdrop's output in the partyline, kick messages, and other
28 texts by editing core.english.lang in the language directory.
29
30 - You can export parts of your config file to separate files. For example,
31 if you have several config files which differ from themselves only by
32 the nickname and the used servers, you can export them to an own file
33 and link it with the 'source' Tcl command, similar to a script. The
34 advantage of this is that you have to edit/upload only the small file
35 instead of the big one. This technique is also useful if you want to
36 maintain the same channel settings, etc across your botnet.
37
38 - You can use variables in your config file, since it's really just a normal
39 Tcl file. For example, you can set 'userfile' and 'chanfile' to
40 "yourbot.user" and "yourbot.chan" using the following method:
41
42 set myvar "yourbot"
43 set userfile "$myvar.user"
44 set chanfile "$myvar.chan"
45 _____________________________________________________________________
46
47 Copyright (C) 1999 - 2010 Eggheads Development Team
48

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23