1
0
mirror of https://gitea.blesmrt.net/mikaela/gist.git synced 2024-12-29 06:02:57 +01:00
gist/irc/piraatit/keeptopic.bash

19 lines
1002 B
Bash
Raw Normal View History

2018-11-15 10:57:32 +01:00
#!/usr/bin/env bash
# Based on https://stackoverflow.com/a/8880633
# Purpose: mass setting entrymsgs
# Finnish speaking channels
2023-05-18 11:41:11 +02:00
declare -a arr=("#aaltopiraatit" "#akateemisetpiraatit" "#aktiivit" "#antikupla" "#grafiikka" "#hallituskokous" "#hame" "#helsinki" "#hepihalko" "#kaakko" "#keski-suomi" "#likakaivo" "#mediaseuranta" "#messi" "#Mikaela" "#pinu" "#pinu-hallitus" "#pinuhalko" "#pinu_hallitus" "#piraatit" "#piraattinuoret" "#piraattipuolue" "#piraattivpn" "#pirkanmaa" "#politiikka" "#ppfi-chanacs-abuse" "#puoluehallitus" "#puoluekokous" "#puoluetoimisto" "#purje" "#satakunta" "#sateenkaaripiraatit" "#savo-karjala" "#sivusto" "#syotteet" "#test" "#toiminta" "#tulevaisuus" "#uusimaa" "#vaaliteltta" "#vaasa" "#varainhankinta" "#varsinais-suomi" "#verkkopalvelut")
2018-11-15 10:57:32 +01:00
2023-05-18 11:41:11 +02:00
for i in "${arr[@]}"; do
echo "/msg ChanServ set $i KEEPTOPIC ON"
2018-11-15 10:57:32 +01:00
done
# English speaking channels
declare -a arr=("#ppfi" "#ypfi")
2023-05-18 11:41:11 +02:00
for i in "${arr[@]}"; do
echo "/msg ChanServ set $i KEEPTOPIC ON"
2018-11-15 10:57:32 +01:00
done