From 6083377a2f8c7adf5c4fa583b5eae25e5fc7adce Mon Sep 17 00:00:00 2001 From: opal hart Date: Wed, 10 Jan 2018 23:01:03 +0000 Subject: [PATCH] i have no idea what these commits are --- scripts/colo.py | 2 +- scripts/parrot.pl | 2 +- scripts/prismx.py | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/colo.py b/scripts/colo.py index 94b5b00..beec5ab 100644 --- a/scripts/colo.py +++ b/scripts/colo.py @@ -86,7 +86,7 @@ def cb_colo (data, mod, buf, input): global nest if nest: nest = False - return input + # return input buffer_name = weechat.buffer_get_string(buf, "name").lower() output = "" profile = "" diff --git a/scripts/parrot.pl b/scripts/parrot.pl index e9dcabd..5c05585 100644 --- a/scripts/parrot.pl +++ b/scripts/parrot.pl @@ -183,7 +183,7 @@ sub irc_part { my (undef, $server, $nick, $channel, $message) = (shift, shift =~ /(.+),irc_raw_in_part/i, - shift =~ /:([^! ]*)[^ ]* part ([^ ]+) :?(.*)/i); + shift =~ /:([^! ]*)[^ ]* part ([^ ]+) ?:?(.*)/i); ($server, $channel) = (lc $server, lc $channel); return weechat::WEECHAT_RC_OK unless exists $chans{$server}{$channel}; diff --git a/scripts/prismx.py b/scripts/prismx.py index 799205f..32261c0 100644 --- a/scripts/prismx.py +++ b/scripts/prismx.py @@ -15,7 +15,7 @@ import re SCRIPT_NAME = "prismx" SCRIPT_AUTHOR = "Alex Barrett " -SCRIPT_VERSION = "0.3.1" +SCRIPT_VERSION = "0.3.2" SCRIPT_LICENSE = "WTFPL" SCRIPT_DESC = "Taste the rainbow." @@ -27,6 +27,7 @@ xcolors = [ 56,68,69,57,45,33,21,22,34,46,58,70,71,59,47,35,23,24,36,48,60,72,73, 61,49,37,25,26,38,50,62,74,75,63,51,39,27] xxcolors = range(100) +palettes = [ # we set this later color_count = 0