ViewVC logotype

Contents of /eggdrop1.8/doc/TRICKS

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

Revision - (show annotations) (download) (vendor branch)
Mon Jul 26 21:11:06 2010 UTC (9 years, 11 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 $
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 across 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 - 2010 Eggheads Development Team

ViewVC Help
Powered by ViewVC 1.1.23