1servers = ( 2 { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; }, 3 { address = "ssl.efnet.org"; chatnet = "EFNet"; port = "9999"; use_tls = "yes"; }, 4 { address = "irc.esper.net"; chatnet = "EsperNet"; port = "6697"; use_tls = "yes"; tls_verify = "yes"; }, 5 { address = "chat.freenode.net"; chatnet = "Freenode"; port = "6697"; use_tls = "yes"; tls_verify = "yes"; }, 6 { address = "irc.gamesurge.net"; chatnet = "GameSurge"; port = "6667"; }, 7 { address = "eu.irc6.net"; chatnet = "IRCnet"; port = "6667"; use_tls = "yes"; }, 8 { address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; }, 9 { address = "irc.ircsource.net"; chatnet = "IRCSource"; port = "6667"; }, 10 { address = "irc.netfuze.net"; chatnet = "NetFuze"; port = "6667"; }, 11 { address = "irc.oftc.net"; chatnet = "OFTC"; port = "6697"; use_tls = "yes"; tls_verify = "yes"; }, 12 { address = "irc.quakenet.org"; chatnet = "QuakeNet"; port = "6667"; }, 13 { address = "irc.rizon.net"; chatnet = "Rizon"; port = "6697"; use_tls = "yes"; tls_verify = "yes"; }, 14 { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; }, 15 { address = "irc.undernet.org"; chatnet = "Undernet"; port = "6667"; } 16); 17 18chatnets = { 19 DALnet = { 20 type = "IRC"; 21 max_kicks = "4"; 22 max_msgs = "20"; 23 max_whois = "30"; 24 }; 25 EFNet = { 26 type = "IRC"; 27 max_kicks = "1"; 28 max_msgs = "4"; 29 max_whois = "1"; 30 }; 31 EsperNet = { 32 type = "IRC"; 33 max_kicks = "1"; 34 max_msgs = "4"; 35 max_whois = "1"; 36 }; 37 Freenode = { 38 type = "IRC"; 39 max_kicks = "1"; 40 max_msgs = "4"; 41 max_whois = "1"; 42 }; 43 GameSurge = { 44 type = "IRC"; 45 max_kicks = "1"; 46 max_msgs = "1"; 47 max_whois = "1"; 48 }; 49 IRCnet = { 50 type = "IRC"; 51 max_kicks = "1"; 52 max_msgs = "1"; 53 max_whois = "1"; 54 }; 55 IRCSource = { 56 type = "IRC"; 57 max_kicks = "1"; 58 max_msgs = "4"; 59 max_whois = "1"; 60 }; 61 NetFuze = { 62 type = "IRC"; 63 max_kicks = "1"; 64 max_msgs = "1"; 65 max_whois = "1"; 66 }; 67 OFTC = { 68 type = "IRC"; 69 max_kicks = "1"; 70 max_msgs = "1"; 71 max_whois = "1"; 72 }; 73 QuakeNet = { 74 type = "IRC"; 75 max_kicks = "1"; 76 max_msgs = "1"; 77 max_whois = "1"; 78 }; 79 Rizon = { 80 type = "IRC"; 81 max_kicks = "1"; 82 max_msgs = "1"; 83 max_whois = "1"; 84 }; 85 SILC = { 86 type = "SILC"; 87 }; 88 Undernet = { 89 type = "IRC"; 90 max_kicks = "1"; 91 max_msgs = "1"; 92 max_whois = "1"; 93 }; 94}; 95 96channels = ( 97 { name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; }, 98 { name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; }, 99 { name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; }, 100 { name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; }, 101 { name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; }, 102 { name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; }, 103 { name = "#netfuze"; chatnet = "NetFuze"; autojoin = "No"; }, 104 { name = "#oftc"; chatnet = "OFTC"; autojoin = "No"; }, 105 { name = "silc"; chatnet = "SILC"; autojoin = "No"; } 106); 107 108aliases = { 109 ATAG = "WINDOW SERVER"; 110 ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{visible_name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}"; 111 B = "BAN"; 112 BACK = "AWAY"; 113 BANS = "BAN"; 114 BYE = "QUIT"; 115 C = "CLEAR"; 116 CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi"; 117 CHAT = "DCC CHAT"; 118 DATE = "TIME"; 119 DEHIGHLIGHT = "DEHILIGHT"; 120 DESCRIBE = "ACTION"; 121 DHL = "DEHILIGHT"; 122 EXEMPTLIST = "MODE $C +e"; 123 EXIT = "QUIT"; 124 GOTO = "SCROLLBACK GOTO"; 125 HIGHLIGHT = "HILIGHT"; 126 HL = "HILIGHT"; 127 HOST = "USERHOST"; 128 INVITELIST = "MODE $C +I"; 129 J = "JOIN"; 130 K = "KICK"; 131 KB = "KICKBAN"; 132 KN = "KNOCKOUT"; 133 LAST = "LASTLOG"; 134 LEAVE = "PART"; 135 M = "MSG"; 136 MUB = "UNBAN *"; 137 N = "NAMES"; 138 NMSG = "^MSG"; 139 P = "PART"; 140 Q = "QUERY"; 141 RESET = "SET -default"; 142 RUN = "SCRIPT LOAD"; 143 SAY = "MSG *"; 144 SB = "SCROLLBACK"; 145 SBAR = "STATUSBAR"; 146 SIGNOFF = "QUIT"; 147 SV = "MSG * Irssi $J ($V) - https://irssi.org"; 148 T = "TOPIC"; 149 UB = "UNBAN"; 150 UMODE = "MODE $N"; 151 UNSET = "SET -clear"; 152 W = "WHO"; 153 WC = "WINDOW CLOSE"; 154 WG = "WINDOW GOTO"; 155 WJOIN = "JOIN -window"; 156 WI = "WHOIS"; 157 WII = "WHOIS $0 $0"; 158 WL = "WINDOW LIST"; 159 WN = "WINDOW NEW HIDDEN"; 160 WQUERY = "QUERY -window"; 161 WW = "WHOWAS"; 162}; 163 164statusbar = { 165 166 items = { 167 168 barstart = "{sbstart}"; 169 barend = "{sbend}"; 170 171 topicbarstart = "{topicsbstart}"; 172 topicbarend = "{topicsbend}"; 173 174 time = "{sb $Z}"; 175 user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}"; 176 177 window = "{sb $winref:$tag/$itemname{sbmode $M}}"; 178 window_empty = "{sb $winref{sbservertag $tag}}"; 179 180 prompt = "{prompt $[.15]itemname}"; 181 prompt_empty = "{prompt $winname}"; 182 183 topic = " $topic"; 184 topic_empty = " Irssi v$J - https://irssi.org"; 185 186 lag = "{sb Lag: $0-}"; 187 act = "{sb Act: $0-}"; 188 more = "-- more --"; 189 }; 190 191 default = { 192 193 window = { 194 195 disabled = "no"; 196 type = "window"; 197 placement = "bottom"; 198 position = "1"; 199 visible = "active"; 200 201 items = { 202 barstart = { priority = "100"; }; 203 time = { }; 204 user = { }; 205 window = { }; 206 window_empty = { }; 207 lag = { priority = "-1"; }; 208 act = { priority = "10"; }; 209 more = { priority = "-1"; alignment = "right"; }; 210 barend = { priority = "100"; alignment = "right"; }; 211 }; 212 }; 213 214 window_inact = { 215 216 type = "window"; 217 placement = "bottom"; 218 position = "1"; 219 visible = "inactive"; 220 221 items = { 222 barstart = { priority = "100"; }; 223 window = { }; 224 window_empty = { }; 225 more = { priority = "-1"; alignment = "right"; }; 226 barend = { priority = "100"; alignment = "right"; }; 227 }; 228 }; 229 230 prompt = { 231 232 type = "root"; 233 placement = "bottom"; 234 position = "100"; 235 visible = "always"; 236 237 items = { 238 prompt = { priority = "-1"; }; 239 prompt_empty = { priority = "-1"; }; 240 input = { priority = "10"; }; 241 }; 242 }; 243 244 topic = { 245 246 type = "root"; 247 placement = "top"; 248 position = "1"; 249 visible = "always"; 250 251 items = { 252 topicbarstart = { priority = "100"; }; 253 topic = { }; 254 topic_empty = { }; 255 topicbarend = { priority = "100"; alignment = "right"; }; 256 }; 257 }; 258 }; 259}; 260