diff options
author | Alexander Færøy <ahf@0x90.dk> | 2014-07-02 23:17:36 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2014-07-02 23:17:36 +0200 |
commit | fd3676e40783e7a24ace7cb652dea72411737fdd (patch) | |
tree | 9b87475b59130900da5c15cc92040b7f94191b1a /irssi.conf | |
parent | 0a221742649cf39db96da69dead0292fd38c7b66 (diff) | |
parent | 96a292d40e7f6fe505c4a0f686d35132ffac8208 (diff) | |
download | irssi-fd3676e40783e7a24ace7cb652dea72411737fdd.zip |
Merge pull request #48 from ailin-nemui/256-colour-history
256 colour support for Irssi
Diffstat (limited to 'irssi.conf')
-rw-r--r-- | irssi.conf | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -130,6 +130,7 @@ aliases = { CHAT = "dcc chat"; RUN = "SCRIPT LOAD"; CALC = "exec - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi"; + 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) }"; SBAR = "STATUSBAR"; INVITELIST = "mode $C +I"; Q = "QUERY"; |