You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Installing Mozbot Modules

Installing a new mozbot module is quite easy. First, copy the .bm file (e.g. Foo.bm) into the BotModule/ directory.

Next, on IRC, authenticate with your bot as its administrator (the installation instructions walk you through this), and tell it to load the module using the load command.

<IRCMonkey> auth IRCMonkey password
   <mozbot> Hi IRCMonkey!
<IRCMonkey> load Foo
   <mozbot> Loaded module 'Foo'.

You can then find out more about the module using the help command.

<IRCMonkey> help
   <mozbot> Help topics for mozbot 2.2 (see http://www.mozilla.org/projects/mozbot/):
   <mozbot>   Admin: bless cycle join load part reload restart shutdown shutup unbless unload vars
   <mozbot>   Foo: bar baz;  ...
   <mozbot> For help on a particular topic, type 'help <topic>'. Note that some commands may be disabled in certain channels.
<IRCMonkey> help Foo
   <mozbot> Foo: This module does this that and the other.
<IRCMonkey> help bar
   <mozbot> bar: Uses the bar algorithm. Syntax: bar some text

Return to documentation index, main index.