Difference between revisions of "%config hash"

From Botnix
Jump to: navigation, search
 
 
Line 1: Line 1:
 
== %config hash ==
 
== %config hash ==
  
The %config hash contains all config directives
+
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.
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 representations
 
  is a single underscore (_) character.
 
  
 
*$main::config{$network}{channels} - '''Space seperated channel list of channels on this network'''
 
*$main::config{$network}{channels} - '''Space seperated channel list of channels on this network'''

Latest revision as of 07:50, 9 October 2019

%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