2023-03-17 14:09:42 +01:00
|
|
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
|
|
|
|
|
|
- [Scripts for managing PPFI channels on PirateIRC](#scripts-for-managing-ppfi-channels-on-pirateirc)
|
|
|
|
- [Further reading and notes](#further-reading-and-notes)
|
|
|
|
|
|
|
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
|
2021-12-19 18:47:31 +01:00
|
|
|
# Scripts for managing PPFI channels on PirateIRC
|
|
|
|
|
|
|
|
The original list of channels comes from where `MI1` is according to oper
|
|
|
|
`WHOIS` and should match `kanavat.csv` with exceptions of secret channels
|
|
|
|
and those not (fully) belonging to Pirate Party of Finland.
|
|
|
|
|
|
|
|
The scripts only generate lines that should be copy-pasted to a IRC client
|
|
|
|
for anything to actually happen. They are provided [missing GroupServ](https://github.com/ergochat/ergo/issues/465)
|
|
|
|
in hope that PPFI is able to operate IRC without @Mikaela constantly present.
|
|
|
|
|
2023-05-09 10:29:19 +02:00
|
|
|
- `./generate-amode-cmds.bash +o MI1` - giving user `MI1` op on all channels
|
|
|
|
which will persist and be granted on join. **_Prefer this script._**
|
|
|
|
- `./generate-oper-override-mode.bash +o MI1` - the same, except requires operator
|
2021-12-19 18:47:31 +01:00
|
|
|
permission, allows unregistered accounts and doesn't persist over `/cycle`
|
2023-05-09 10:29:19 +02:00
|
|
|
whether manual or connection loss or similar. **_Use only in emergency
|
2021-12-19 18:47:31 +01:00
|
|
|
and even in emergency, and even then prefer amoding yourself with the previous script and then
|
2023-05-09 10:29:19 +02:00
|
|
|
using the next script._**
|
|
|
|
- `./generate-usual-mode-cmds.bash +o MI1` - non-oper version of the previous script,
|
2021-12-19 18:47:31 +01:00
|
|
|
generates normal `/mode` commands within the usual permission system most likely
|
|
|
|
requiring being op (use the amode script for that, see drawbacks of the previous script).
|
2021-12-19 18:56:24 +01:00
|
|
|
|
|
|
|
## Further reading and notes
|
|
|
|
|
2023-05-09 10:29:19 +02:00
|
|
|
- (CS) AMODE +h (halfop) overrides mode `+i` (invite-only channel).
|
|
|
|
- https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#channel-prefixes - on owner/protected/op/halfop/voice
|
|
|
|
- https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#modes - on channel modes such as the aforementioned invite-only
|