%chanmodes hash

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

%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