PtokaX forum

Archive => DiXBoT => AllInOne Scripts => Archived 5.1 boards => DiXBoT - Support => Topic started by: Snooze on 27 December, 2006, 14:42:23

Title: FAQ #2 - Turning DiXBoT Modules On/Off
Post by: Snooze on 27 December, 2006, 14:42:23
DiXBoT is made of several modules that can be turned On/Off to best suit your hub.
This guide will show you howto do that.

Module related commands are only available to the Profile [ Owner ].


Listing the Modules and their current state:

Typing !module in mainchat will list all available Modules and if they are running or not.
You should get a list much like this:

   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   DiXBoT][Demo Hub Hub Modules:
   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   Userfunc          : TRUE
   Chats             : TRUE
   Anagram           : TRUE
   BasicCMD          : TRUE
   Mailbox           : TRUE
   Poll              : TRUE
   HubConfig         : TRUE
   Opfunc            : TRUE
   AutoUpdate        : TRUE
   Gui               : TRUE
   Stats             : TRUE
   Greeting          : TRUE
   Security          : TRUE
   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   Type !module [ Module Name ] [ True/False ] to change a module setting.
   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Each of these Modules represents a number of features and commands.

Turning an Module On/Off:

Typing !module [ ModuleName ] False will unload that module!
Typing !module [ ModuleName ] True will load that module!

Example: !module Anagram False
The script would reply: *** Mudule [ Anagram ] has been changed to [ False ].

Note: The ModuleName is case sentitive!

Turning Off a Module will also remove those features from the hub.

This can be useful for hubs with less resources as each Module will take CPU and MEM or if you just don't want a feature in your hub (Like Anagram Game).

I hope this helped make this part of DiXBoT easier to understand :)

-Snooze