Difference between revisions of "%chanmodes hash"

From Botnix
Jump to: navigation, search
 
 
Line 1: Line 1:
 
== %chanmodes hash ==
 
== %chanmodes hash ==
  
This hash contains all channel modes on each channel. The
+
This hash contains all channel modes on each channel. The channel names in this hash are always stored in lower case.
channel names in this hash are always stored in lower case.
 
  
 
*$main::chanmodes{$network}{$channel}{key} - '''Contains the current channel key'''
 
*$main::chanmodes{$network}{$channel}{key} - '''Contains the current channel key'''

Latest revision as of 07:51, 9 October 2019

%chanmodes hash

This hash contains all channel modes on each channel. The channel names in this hash are always stored in lower case.

  • $main::chanmodes{$network}{$channel}{key} - Contains the current channel key
  • $main::chanmodes{$network}{$channel}{limit} - Contains the current channel limit, or zero
  • $main::chanmodes{$network}{$channel}{private} - Contains 1 if the channel mode +p is set
  • $main::chanmodes{$network}{$channel}{secret} - Contains 1 if the channel mode +s is set
  • $main::chanmodes{$network}{$channel}{invonly} - Contains 1 if the channel mode +i is set
  • $main::chanmodes{$network}{$channel}{noexternal} - Contains 1 if the channel mode +n is set
  • $main::chanmodes{$network}{$channel}{optopic} - Contains 1 if the channel mode +t is set