ViewVC logotype

Contents of /eggdrop1.6/doc/TRICKS

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

Revision 1.4 - (show annotations) (download)
Mon Jan 3 20:01:43 2005 UTC (16 years, 3 months ago) by paladin
Branch: MAIN
Changes since 1.3: +2 -2 lines
- Updated Copyright Dates
* Patch by: Paladin

1 $Id: TRICKS,v 1.3 2004/07/25 03:56:58 wcc Exp $
3 Eggdrop Tricks
4 Last revised: December 08, 2003
5 _____________________________________________________________________
7 Eggdrop Tricks
10 Here are some little tricks that you may or may not know about, which aren't
11 documented in other areas.
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
18 The first line removes the built-in binding on '.status', and the second
19 line binds '.report' to the built-in status function.
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.
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.
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 accross your botnet.
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:
42 set myvar "yourbot"
43 set userfile "$myvar.user"
44 set chanfile "$myvar.chan"
45 _____________________________________________________________________
47 Copyright (C) 1999 - 2005 Eggheads Development Team

ViewVC Help
Powered by ViewVC 1.1.23