config 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. servers = (
  2. {
  3. address = "irc.ubuntu.com";
  4. chatnet = "Ubuntu";
  5. port = "6697";
  6. use_tls = "yes";
  7. tls_verify = "yes";
  8. },
  9. { address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
  10. {
  11. address = "ssl.efnet.org";
  12. chatnet = "EFNet";
  13. port = "9999";
  14. use_tls = "yes";
  15. },
  16. {
  17. address = "irc.esper.net";
  18. chatnet = "EsperNet";
  19. port = "6697";
  20. use_tls = "yes";
  21. tls_verify = "yes";
  22. },
  23. {
  24. address = "chat.freenode.net";
  25. chatnet = "Freenode";
  26. port = "6697";
  27. use_tls = "yes";
  28. tls_verify = "yes";
  29. autoconnect = "yes";
  30. },
  31. {
  32. address = "irc.gamesurge.net";
  33. chatnet = "GameSurge";
  34. port = "6667";
  35. },
  36. {
  37. address = "eu.irc6.net";
  38. chatnet = "IRCnet";
  39. port = "6667";
  40. use_tls = "yes";
  41. },
  42. { address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
  43. {
  44. address = "irc.ircsource.net";
  45. chatnet = "IRCSource";
  46. port = "6667";
  47. },
  48. { address = "irc.netfuze.net"; chatnet = "NetFuze"; port = "6667"; },
  49. {
  50. address = "irc.oftc.net";
  51. chatnet = "OFTC";
  52. port = "6697";
  53. use_tls = "yes";
  54. tls_verify = "yes";
  55. },
  56. {
  57. address = "irc.quakenet.org";
  58. chatnet = "QuakeNet";
  59. port = "6667";
  60. },
  61. {
  62. address = "irc.rizon.net";
  63. chatnet = "Rizon";
  64. port = "6697";
  65. use_tls = "yes";
  66. tls_verify = "yes";
  67. },
  68. { address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; },
  69. {
  70. address = "irc.undernet.org";
  71. chatnet = "Undernet";
  72. port = "6667";
  73. }
  74. );
  75. chatnets = {
  76. Ubuntu = {
  77. type = "IRC";
  78. max_kicks = "1";
  79. max_msgs = "4";
  80. max_whois = "1";
  81. };
  82. DALnet = {
  83. type = "IRC";
  84. max_kicks = "4";
  85. max_msgs = "20";
  86. max_whois = "30";
  87. };
  88. EFNet = {
  89. type = "IRC";
  90. max_kicks = "1";
  91. max_msgs = "4";
  92. max_whois = "1";
  93. };
  94. EsperNet = {
  95. type = "IRC";
  96. max_kicks = "1";
  97. max_msgs = "4";
  98. max_whois = "1";
  99. };
  100. Freenode = {
  101. type = "IRC";
  102. max_kicks = "1";
  103. max_msgs = "4";
  104. max_whois = "1";
  105. sasl_mechanism = "PLAIN";
  106. sasl_username = "REDACTED";
  107. sasl_password = "REDACTED";
  108. };
  109. GameSurge = {
  110. type = "IRC";
  111. max_kicks = "1";
  112. max_msgs = "1";
  113. max_whois = "1";
  114. };
  115. IRCnet = {
  116. type = "IRC";
  117. max_kicks = "1";
  118. max_msgs = "1";
  119. max_whois = "1";
  120. };
  121. IRCSource = {
  122. type = "IRC";
  123. max_kicks = "1";
  124. max_msgs = "4";
  125. max_whois = "1";
  126. };
  127. NetFuze = {
  128. type = "IRC";
  129. max_kicks = "1";
  130. max_msgs = "1";
  131. max_whois = "1";
  132. };
  133. OFTC = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; };
  134. QuakeNet = {
  135. type = "IRC";
  136. max_kicks = "1";
  137. max_msgs = "1";
  138. max_whois = "1";
  139. };
  140. Rizon = {
  141. type = "IRC";
  142. max_kicks = "1";
  143. max_msgs = "1";
  144. max_whois = "1";
  145. };
  146. SILC = { type = "SILC"; };
  147. Undernet = {
  148. type = "IRC";
  149. max_kicks = "1";
  150. max_msgs = "1";
  151. max_whois = "1";
  152. };
  153. };
  154. channels = (
  155. { name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; },
  156. { name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; },
  157. { name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; },
  158. { name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; },
  159. { name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; },
  160. { name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; },
  161. { name = "#netfuze"; chatnet = "NetFuze"; autojoin = "No"; },
  162. { name = "#oftc"; chatnet = "OFTC"; autojoin = "No"; },
  163. { name = "silc"; chatnet = "SILC"; autojoin = "No"; }
  164. );
  165. aliases = {
  166. ATAG = "WINDOW SERVER";
  167. ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}";
  168. B = "BAN";
  169. BACK = "AWAY";
  170. BANS = "BAN";
  171. BYE = "QUIT";
  172. C = "CLEAR";
  173. CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
  174. CHAT = "DCC CHAT";
  175. CUBES = "SCRIPT EXEC Irssi::active_win->print(\"%_bases\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x0\\${_}0\\$_\" } '0'..'9','A'..'F' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_cubes\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { my \\$y = \\$_*6 \\; join '', map { my \\$x = \\$_ \\; map { \"%x\\$x\\$_\\$x\\$_\" } @{['0'..'9','A'..'Z']}[\\$y .. \\$y+5] } 1..6 }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) for 0..5 \\; Irssi::active_win->print(\"%_grays\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x7\\${_}7\\$_\" } 'A'..'X' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_mIRC extended colours\", MSGLEVEL_CLIENTCRAP) \\; my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 0..15 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; for my \\$z (0..6) { my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 16+(\\$z*12)..16+(\\$z*12)+11 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) }";
  176. DATE = "TIME";
  177. DEHIGHLIGHT = "DEHILIGHT";
  178. DESCRIBE = "ACTION";
  179. DHL = "DEHILIGHT";
  180. EXEMPTLIST = "MODE $C +e";
  181. EXIT = "QUIT";
  182. GOTO = "SCROLLBACK GOTO";
  183. HIGHLIGHT = "HILIGHT";
  184. HL = "HILIGHT";
  185. HOST = "USERHOST";
  186. INVITELIST = "MODE $C +I";
  187. J = "JOIN";
  188. K = "KICK";
  189. KB = "KICKBAN";
  190. KN = "KNOCKOUT";
  191. LAST = "LASTLOG";
  192. LEAVE = "PART";
  193. M = "MSG";
  194. MUB = "UNBAN *";
  195. N = "NAMES";
  196. NMSG = "^MSG";
  197. P = "PART";
  198. Q = "QUERY";
  199. RESET = "SET -default";
  200. RUN = "SCRIPT LOAD";
  201. SAY = "MSG *";
  202. SB = "SCROLLBACK";
  203. SBAR = "STATUSBAR";
  204. SIGNOFF = "QUIT";
  205. SV = "MSG * Irssi $J ($V) - http://www.irssi.org";
  206. T = "TOPIC";
  207. UB = "UNBAN";
  208. UMODE = "MODE $N";
  209. UNSET = "SET -clear";
  210. W = "WHO";
  211. WC = "WINDOW CLOSE";
  212. WG = "WINDOW GOTO";
  213. WJOIN = "JOIN -window";
  214. WI = "WHOIS";
  215. WII = "WHOIS $0 $0";
  216. WL = "WINDOW LIST";
  217. WN = "WINDOW NEW HIDDEN";
  218. WQUERY = "QUERY -window";
  219. WW = "WHOWAS";
  220. 1 = "WINDOW GOTO 1";
  221. 2 = "WINDOW GOTO 2";
  222. 3 = "WINDOW GOTO 3";
  223. 4 = "WINDOW GOTO 4";
  224. 5 = "WINDOW GOTO 5";
  225. 6 = "WINDOW GOTO 6";
  226. 7 = "WINDOW GOTO 7";
  227. 8 = "WINDOW GOTO 8";
  228. 9 = "WINDOW GOTO 9";
  229. 10 = "WINDOW GOTO 10";
  230. 11 = "WINDOW GOTO 11";
  231. 12 = "WINDOW GOTO 12";
  232. 13 = "WINDOW GOTO 13";
  233. 14 = "WINDOW GOTO 14";
  234. 15 = "WINDOW GOTO 15";
  235. 16 = "WINDOW GOTO 16";
  236. 17 = "WINDOW GOTO 17";
  237. 18 = "WINDOW GOTO 18";
  238. 19 = "WINDOW GOTO 19";
  239. 20 = "WINDOW GOTO 20";
  240. 21 = "WINDOW GOTO 21";
  241. 22 = "WINDOW GOTO 22";
  242. 23 = "WINDOW GOTO 23";
  243. 24 = "WINDOW GOTO 24";
  244. 25 = "WINDOW GOTO 25";
  245. 26 = "WINDOW GOTO 26";
  246. 27 = "WINDOW GOTO 27";
  247. 28 = "WINDOW GOTO 28";
  248. 29 = "WINDOW GOTO 29";
  249. 30 = "WINDOW GOTO 30";
  250. 31 = "WINDOW GOTO 31";
  251. 32 = "WINDOW GOTO 32";
  252. 33 = "WINDOW GOTO 33";
  253. 34 = "WINDOW GOTO 34";
  254. 35 = "WINDOW GOTO 35";
  255. 36 = "WINDOW GOTO 36";
  256. 37 = "WINDOW GOTO 37";
  257. 38 = "WINDOW GOTO 38";
  258. 39 = "WINDOW GOTO 39";
  259. 40 = "WINDOW GOTO 40";
  260. 41 = "WINDOW GOTO 41";
  261. 42 = "WINDOW GOTO 42";
  262. 43 = "WINDOW GOTO 43";
  263. 44 = "WINDOW GOTO 44";
  264. 45 = "WINDOW GOTO 45";
  265. 46 = "WINDOW GOTO 46";
  266. 47 = "WINDOW GOTO 47";
  267. 48 = "WINDOW GOTO 48";
  268. 49 = "WINDOW GOTO 49";
  269. 50 = "WINDOW GOTO 50";
  270. 51 = "WINDOW GOTO 51";
  271. 52 = "WINDOW GOTO 52";
  272. 53 = "WINDOW GOTO 53";
  273. 54 = "WINDOW GOTO 54";
  274. 55 = "WINDOW GOTO 55";
  275. 56 = "WINDOW GOTO 56";
  276. 57 = "WINDOW GOTO 57";
  277. 58 = "WINDOW GOTO 58";
  278. 59 = "WINDOW GOTO 59";
  279. 60 = "WINDOW GOTO 60";
  280. 61 = "WINDOW GOTO 61";
  281. 62 = "WINDOW GOTO 62";
  282. 63 = "WINDOW GOTO 63";
  283. 64 = "WINDOW GOTO 64";
  284. 65 = "WINDOW GOTO 65";
  285. 66 = "WINDOW GOTO 66";
  286. 67 = "WINDOW GOTO 67";
  287. 68 = "WINDOW GOTO 68";
  288. 69 = "WINDOW GOTO 69";
  289. 70 = "WINDOW GOTO 70";
  290. 71 = "WINDOW GOTO 71";
  291. 72 = "WINDOW GOTO 72";
  292. 73 = "WINDOW GOTO 73";
  293. 74 = "WINDOW GOTO 74";
  294. 75 = "WINDOW GOTO 75";
  295. 76 = "WINDOW GOTO 76";
  296. 77 = "WINDOW GOTO 77";
  297. 78 = "WINDOW GOTO 78";
  298. 79 = "WINDOW GOTO 79";
  299. 80 = "WINDOW GOTO 80";
  300. 81 = "WINDOW GOTO 81";
  301. 82 = "WINDOW GOTO 82";
  302. 83 = "WINDOW GOTO 83";
  303. 84 = "WINDOW GOTO 84";
  304. 85 = "WINDOW GOTO 85";
  305. 86 = "WINDOW GOTO 86";
  306. 87 = "WINDOW GOTO 87";
  307. 88 = "WINDOW GOTO 88";
  308. 89 = "WINDOW GOTO 89";
  309. 90 = "WINDOW GOTO 90";
  310. 91 = "WINDOW GOTO 91";
  311. 92 = "WINDOW GOTO 92";
  312. 93 = "WINDOW GOTO 93";
  313. 94 = "WINDOW GOTO 94";
  314. 95 = "WINDOW GOTO 95";
  315. 96 = "WINDOW GOTO 96";
  316. 97 = "WINDOW GOTO 97";
  317. 98 = "WINDOW GOTO 98";
  318. 99 = "WINDOW GOTO 99";
  319. };
  320. statusbar = {
  321. items = {
  322. barstart = "{sbstart}";
  323. barend = "{sbend}";
  324. topicbarstart = "{topicsbstart}";
  325. topicbarend = "{topicsbend}";
  326. time = "{sb $Z}";
  327. user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
  328. window = "{sb $winref:$tag/$itemname{sbmode $M}}";
  329. window_empty = "{sb $winref{sbservertag $tag}}";
  330. prompt = "{prompt $[.15]itemname}";
  331. prompt_empty = "{prompt $winname}";
  332. topic = " $topic";
  333. topic_empty = " Irssi v$J - http://www.irssi.org";
  334. lag = "{sb Lag: $0-}";
  335. act = "{sb Act: $0-}";
  336. more = "-- more --";
  337. };
  338. default = {
  339. window = {
  340. disabled = "no";
  341. type = "window";
  342. placement = "bottom";
  343. position = "1";
  344. visible = "active";
  345. items = {
  346. barstart = { priority = "100"; };
  347. time = { };
  348. user = { };
  349. window = { };
  350. window_empty = { };
  351. lag = { priority = "-1"; };
  352. act = { priority = "10"; };
  353. more = { priority = "-1"; alignment = "right"; };
  354. barend = { priority = "100"; alignment = "right"; };
  355. };
  356. };
  357. window_inact = {
  358. type = "window";
  359. placement = "bottom";
  360. position = "1";
  361. visible = "inactive";
  362. items = {
  363. barstart = { priority = "100"; };
  364. window = { };
  365. window_empty = { };
  366. more = { priority = "-1"; alignment = "right"; };
  367. barend = { priority = "100"; alignment = "right"; };
  368. };
  369. };
  370. prompt = {
  371. type = "root";
  372. placement = "bottom";
  373. position = "100";
  374. visible = "always";
  375. items = {
  376. prompt = { priority = "-1"; };
  377. prompt_empty = { priority = "-1"; };
  378. input = { priority = "10"; };
  379. };
  380. };
  381. topic = {
  382. type = "root";
  383. placement = "top";
  384. position = "1";
  385. visible = "always";
  386. items = {
  387. topicbarstart = { priority = "100"; };
  388. topic = { };
  389. topic_empty = { };
  390. topicbarend = { priority = "100"; alignment = "right"; };
  391. };
  392. };
  393. };
  394. };
  395. settings = {
  396. core = {
  397. real_name = "REDACTED";
  398. user_name = "REDACTED";
  399. nick = "REDACTED";
  400. };
  401. "fe-text" = { actlist_sort = "refnum"; };
  402. "fe-common/core" = { theme = "default"; };
  403. };
  404. ignores = (
  405. { level = "JOINS PARTS QUITS NICKS"; channels = ( "#suckless" ); },
  406. { level = "JOINS PARTS QUITS NICKS"; channels = ( "#aptly" ); }
  407. );