Difference between revisions of "%channelflags hash"

From Botnix
Jump to: navigation, search
 
(%channelflags hash)
 
Line 1: Line 1:
 
== %channelflags hash ==
 
== %channelflags hash ==
  
This hash contains all channel flags used as binary
+
This hash contains all channel flags used as binary operators that effect the behavour of the bot on a channel. The channel names in this hash are always stored in lower case.
operators that effect the behavour of the bot on a
 
channel. The channel names in this hash are always
 
stored in lower case.
 
  
 
*$main::channelflags{$network}{$channel}{rejoin} - '''Auto voice users joining this channel when 1'''
 
*$main::channelflags{$network}{$channel}{rejoin} - '''Auto voice users joining this channel when 1'''

Latest revision as of 07:51, 9 October 2019

%channelflags hash

This hash contains all channel flags used as binary operators that effect the behavour of the bot on a channel. The channel names in this hash are always stored in lower case.

  • $main::channelflags{$network}{$channel}{rejoin} - Auto voice users joining this channel when 1
  • $main::channelflags{$network}{$channel}{cycle} - If 1, cycle channel when there are no ops
  • $main::channelflags{$network}{$channel}{autovoice} - Auto voice users joining this channel when 1