mirror of
https://git.piraattipuolue.fi/Pikaviestimet/Pikaviestimet.git
synced 2024-12-26 03:22:36 +01:00
irc: copy-paste the mode script into two others
This commit is contained in:
parent
f3c510c90d
commit
e12e1eb439
15
irc/generate-oper-override-mode.bash
Executable file
15
irc/generate-oper-override-mode.bash
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Generates lines to be copy-pasted to IRC client for mass adjusting modes
|
||||
# in our PUBLIC IRC channels through OPER OVERRIDE / SAMODE.
|
||||
|
||||
# Modes: refer to https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#modes
|
||||
|
||||
# Usage e.g.: ./generate-oper-override-mode.bash +q yourusername
|
||||
|
||||
# This should be the same list as the amode script which is preferable alongside
|
||||
# the normal mode script
|
||||
for channel in \#helsinki \#keski-suomi \#pirkanmaa \#oulu \#puoluevaltuusto \#puoluetoimisto \#pinu_hallitus \#uusimaa \#varsinais-suomi \#akateemisetpiraatit \#piraattinuoret \#kampanjateltta \#sateenkaaripiraatit \#hame \#vaasa \#hallituskokous \#grafiikka \#toiminta \#piraattivpn \#ppfi \#hepihalko \#aaltopiraatit \#kaakko \#mediaseuranta \#savo-karjala \#messi \#piraatit \#suomiareena \#satakunta \#verkkopalvelut
|
||||
do
|
||||
echo "/quote samode $channel $1 $2"
|
||||
done
|
13
irc/generate-usual-mode-cmds.bash
Executable file
13
irc/generate-usual-mode-cmds.bash
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Generates lines to be copy-pasted to IRC client for mass-managing modes
|
||||
# in our PUBLIC IRC channels. Note: +h overrides cmode +i.
|
||||
|
||||
# WARNING: While changed channel modes stay, changing modes of users
|
||||
# is temporary until they /cycle or similar. For registered users please
|
||||
# use the AMODE script.
|
||||
|
||||
for channel in \#helsinki \#keski-suomi \#pirkanmaa \#oulu \#puoluevaltuusto \#puoluetoimisto \#pinu_hallitus \#uusimaa \#varsinais-suomi \#akateemisetpiraatit \#piraattinuoret \#kampanjateltta \#sateenkaaripiraatit \#hame \#vaasa \#hallituskokous \#grafiikka \#toiminta \#piraattivpn \#ppfi \#hepihalko \#aaltopiraatit \#kaakko \#mediaseuranta \#savo-karjala \#messi \#piraatit \#suomiareena \#satakunta \#verkkopalvelut
|
||||
do
|
||||
echo "/cs amode $channel $1 $2"
|
||||
done
|
Loading…
Reference in New Issue
Block a user