summaryrefslogtreecommitdiff
path: root/irssi.conf
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2014-07-02 23:17:36 +0200
committerAlexander Færøy <ahf@0x90.dk>2014-07-02 23:17:36 +0200
commitfd3676e40783e7a24ace7cb652dea72411737fdd (patch)
tree9b87475b59130900da5c15cc92040b7f94191b1a /irssi.conf
parent0a221742649cf39db96da69dead0292fd38c7b66 (diff)
parent96a292d40e7f6fe505c4a0f686d35132ffac8208 (diff)
downloadirssi-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.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/irssi.conf b/irssi.conf
index 50f6aafc..08fa5d67 100644
--- a/irssi.conf
+++ b/irssi.conf
@@ -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";