colo.py: minor colour tweak
This commit is contained in:
parent
30b0cd7606
commit
d5eb6ef6d4
@ -26,7 +26,7 @@ import weechat
|
|||||||
|
|
||||||
SCRIPT_NAME = "colo"
|
SCRIPT_NAME = "colo"
|
||||||
SCRIPT_AUTHOR = "The Krusty Krab <wowaname@volatile.ch>"
|
SCRIPT_AUTHOR = "The Krusty Krab <wowaname@volatile.ch>"
|
||||||
SCRIPT_VERSION = "2.0"
|
SCRIPT_VERSION = "2.1"
|
||||||
SCRIPT_LICENSE = "Public domain"
|
SCRIPT_LICENSE = "Public domain"
|
||||||
SCRIPT_DESC = "Makes your chats noticable"
|
SCRIPT_DESC = "Makes your chats noticable"
|
||||||
|
|
||||||
@ -152,7 +152,7 @@ def cb_colo (data, mod, buf, input):
|
|||||||
"\x16").replace("%o", "\x0f")
|
"\x16").replace("%o", "\x0f")
|
||||||
if fgs == [""] and bgs == [""]: continue
|
if fgs == [""] and bgs == [""]: continue
|
||||||
for j in xrange(10):
|
for j in xrange(10):
|
||||||
base = "\x0f\x03%s%s%s" % (
|
base = "\x03%s%s%s" % (
|
||||||
random.choice(fgs),
|
random.choice(fgs),
|
||||||
"," if bgs != [""] else "",
|
"," if bgs != [""] else "",
|
||||||
random.choice(bgs),
|
random.choice(bgs),
|
||||||
|
Loading…
Reference in New Issue
Block a user