irssiconfig 10 KB

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