ViewVC logotype

Contents of /wolfpack/README

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

Revision 1.14 - (show annotations) (download)
Fri Dec 24 21:28:24 2004 UTC (15 years, 5 months ago) by tothwolf
Branch: MAIN
Changes since 1.13: +8 -5 lines
*** empty log message ***

1 Wolfpack is a scripting framework for Eggdrop written in Tcl, and is freely
2 distributable under the GNU General Public License (GPL).
4 It is designed to replace the traditional use of sourced Tcl scripts with
5 Eggdrop. One of the more unique features is its ability to dynamically load,
6 unload, and configure script 'modules' while the bot is running. The
7 Wolfpack framework is designed in such a way that there should never be a
8 need to manually edit a script 'module' to change its settings.
10 To install Wolfpack, first copy the main 'wolfpack' directory to your
11 'eggdrop/scripts' directory. You should then have an
12 'eggdrop/scripts/wolfpack' directory.
14 Next, at your shell prompt while inside the 'eggdrop' directory, run:
16 ./scripts/wolfpack/wolfpack.tcl -c
18 This starts Wolfpack in a standalone mode with tclsh so that initial
19 settings can be configured.
21 There are 3 paths that need to be configured before Wolfpack can be loaded
22 by eggdrop. These are the 'configpath', 'datapath', and 'modulepath'. The
23 'configpath' and 'datapath' directories are where modules will store their
24 config files or data files (if they use them), respectfully. The
25 'modulepath' is where module '.tcl' files are located. If you have installed
26 Wolfpack into 'eggdrop/scripts/wolfpack' as mentioned above, these can be
27 set as follows:
29 set configpath scripts/wolfpack/wpconf/
30 set datapath scripts/wolfpack/wpdata/
31 set modulepath scripts/wolfpack/modules/
33 Modules can then be enabled or disabled with the 'enable' or 'disable'
34 commands. See 'help' and 'help <command>' for more detailed information.
36 The only module that must be enabled prior to loading Wolfpack in a bot is
37 the 'config' module. To enable it, type:
39 enable config
41 After typing the above commands, the 'quit' command will exit the
42 configuration program and save the 'wolfpack.conf' config file.
44 Once the initial config file is created, add a 'source' command to your
45 bot's config file as you would for tradition scripts:
47 source scripts/wolfpack/wolfpack.tcl
49 You can then start your bot, which should then print out some status
50 information as Wolfpack is loading with your bot:
52 Wolfpack: wolfpack.tcl v1.9.9 loading...
53 Wolfpack: Using configuration file: wolfpack.conf
54 Wolfpack: Loading module database...
55 Wolfpack: Done.
56 Wolfpack: Comparing and updating module database...
57 Wolfpack: Done.
58 Wolfpack: Building command table...
59 Wolfpack: Done.
60 Wolfpack: Loading modules...
61 Wolfpack: Done.
62 Wolfpack: Modules loaded (3/53): texttools usertools config
64 Once you've gotten this far, everything else can be configured via '.wpconf'
65 while in dcc chat with your bot. To use this command, you must have the
66 owner (n) flag, and your handle must also be listed in the 'owner' variable
67 if you have enabled 'must-be-owner'. There is a built-in help system for
68 '.wpconf' which contains detailed information on each command. Typing 'help'
69 will list the available commands and 'help <command>' will provide detailed
70 usage information.
72 Good luck!

ViewVC Help
Powered by ViewVC 1.1.23