chancontrol

Plugin last modified: 2024-10-12

Opens and closes IRC channels by applying preset mode flags and topics. Special handling exists for designated game channels (quiz, werewolves, uno, pimpampet); all other channels use the generic open/close settings.

Permission required

chancontrol

Commands

Command Description
.openen #channel Opens the channel — applies flagsopenp, removes flagsopenn, sets the open topic
.sluiten #channel Closes the channel — applies flagsclosingp, removes flagsclosingn, sets the close topic

Configuration

[chancontrol]
quizbot = EA
quizchan = #dutch-quiz
quiztopic = Quizbot is online!
wolfbot = Burgemeester
wolfchan = #dutch-wakkerdam
wolftopic = Je kunt weer weerwolven!
unobot = Duno
unochan = #dutch-uno
unotopic = Uno is online!
pppbot = Pimmetje
pppchan = #dutch-pimpampet
ppptopic = Pimpampet is online!
flagsopenp = +ntTABlJf 80 10 5:3
flagsopeng = +ntTABlJ 75 10
flagsopenn = -cSmspki
flagsclosingp = +ntsmil 1
flagsclosingn = -A
opentopic = Dit kanaal is open!
closetopic = Dit kanaal is gesloten!
Key Description
flagsopenp Mode string applied when opening a regular channel (positive flags)
flagsopenn Mode string removed when opening a regular channel (negative flags)
flagsopeng Mode string applied when opening a game channel
flagsclosingp Mode string applied when closing a channel
flagsclosingn Mode string removed when closing a channel
opentopic Topic set on regular channels when opened
closetopic Topic set on channels when closed
quizchan / wolfchan / unochan / pppchan Designated game channels — receive flagsopeng instead of flagsopenp when opened
quiztopic / wolftopic / unotopic / ppptopic Topics set on respective game channels when opened