%config hash

From Botnix
Revision as of 07:50, 9 October 2019 by Brain (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

%config hash

The %config hash contains all config directives read by the core. Modules may add their own items to this hash without affecting the core's operation in any way. Where an item is global to all networks, the $network value in these epresentations is a single underscore (_) character.

  • $main::config{$network}{channels} - Space seperated channel list of channels on this network
  • $main::config{$network}{password} - Password for this network
  • $main::config{$network}{ident} - Ident used on this network
  • $main::config{$network}{gecos} - GECOS (fullname) used on this network
  • $main::config{$network}{bind} - IP to bind to for connection to this network
  • $main::config{$network}{addresses} - Space seperated server list for this network
  • $main::config{$network}{throttlebps} - Maximum characters per second for this network
  • $main::config{$network}{nickname} - Nickname to use on this network