highlight_plugin
This commit is contained in:
parent
8272e42a12
commit
3d9066453f
@ -39,7 +39,7 @@ class Plugin:
|
|||||||
|
|
||||||
@command(permission='view',public=True,show_in_help_list=True)
|
@command(permission='view',public=True,show_in_help_list=True)
|
||||||
def h1c(self, mask, target, args):
|
def h1c(self, mask, target, args):
|
||||||
"""h1c // cchosen color contrasting. color choices are 0-15. usage: ?h1c c1,c2,c3,c4 nickname n message. example: ?h1c 8,12,9,13 dr1p 10 make me a ham sammich
|
"""h1c // chosen color contrasting. colors are 0-15. usage: ?h1c c1,c2,c3,c4 nickname n message. example: ?h1c 8,12,9,13 dr1p 10 make me a ham sammich
|
||||||
%%h1c <message>...
|
%%h1c <message>...
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
@ -58,7 +58,7 @@ class Plugin:
|
|||||||
c3=self.__color(hex(c3)[2:])
|
c3=self.__color(hex(c3)[2:])
|
||||||
c4=self.__color(hex(c4)[2:])
|
c4=self.__color(hex(c4)[2:])
|
||||||
terminate=self.__color('t')
|
terminate=self.__color('t')
|
||||||
msg = f'{c1}<<< {c2}{_nik} {c1}>>> {c3}!!! {c4}{_msg} {c3}!!! {c1}<<< {c2}{_nik} {c1}>>> {terminate}'
|
msg = f'{c1}<<< {c2}{_nik} {c1}>>> {c3}!!! {c4}{_msg} {c3}!!! {c1}<<< {c2}{_nik} {c1}>>>{terminate}'
|
||||||
for i in range(int(_cnt)):
|
for i in range(int(_cnt)):
|
||||||
self.bot.privmsg(target,self.bot.emo(msg))
|
self.bot.privmsg(target,self.bot.emo(msg))
|
||||||
return
|
return
|
||||||
@ -85,7 +85,7 @@ class Plugin:
|
|||||||
c3=self.__color(hex(c3)[2:])
|
c3=self.__color(hex(c3)[2:])
|
||||||
c4=self.__color(hex(c4)[2:])
|
c4=self.__color(hex(c4)[2:])
|
||||||
terminate=self.__color('t')
|
terminate=self.__color('t')
|
||||||
msg = f'{c1}<<< {c2}{_nik} {c1}>>> {c3}!!! {c4}{_msg} {c3}!!! {c1}<<< {c2}{_nik} {c1}>>> {terminate} colors: {c1}{b1},{c2}{b2},{c3}{b3},{c4}{b4}'
|
msg = f'{c1}<<< {c2}{_nik} {c1}>>> {c3}!!! {c4}{_msg} {c3}!!! {c1}<<< {c2}{_nik} {c1}>>>{terminate} {c1}{b1},{c2}{b2},{c3}{b3},{c4}{b4}'
|
||||||
self.bot.privmsg(target,self.bot.emo(msg))
|
self.bot.privmsg(target,self.bot.emo(msg))
|
||||||
return
|
return
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
@ -94,8 +94,7 @@ class Plugin:
|
|||||||
|
|
||||||
@command(permission='view',public=True,show_in_help_list=True)
|
@command(permission='view',public=True,show_in_help_list=True)
|
||||||
def hl(self, mask, target, args):
|
def hl(self, mask, target, args):
|
||||||
"""highlight user c n message ?highlight <nick> <color> <loop> <messaage>. c is 16 colors as 0-f. loop is flood message. e.g. ?hl dr1p f 6 phuq.
|
"""highlight user c n message ?highlight <nick> <color> <loop> <messaage>. c is 16 colors as 0-f. loop is flood message. e.g. ?hl dr1p f 6 phuq
|
||||||
highlights dr1p in magenta flooding 6 times saying phuq
|
|
||||||
%%hl <message>...
|
%%hl <message>...
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user