fixed %N for masshl
This commit is contained in:
parent
2c39155159
commit
e2e88eac2c
@ -43,8 +43,8 @@ class Loop():
|
|||||||
i += 1
|
i += 1
|
||||||
if self.N_param:
|
if self.N_param:
|
||||||
N_nicks += " %s" % nick
|
N_nicks += " %s" % nick
|
||||||
# weechat.prnt(
|
weechat.prnt("", "%s ; %s" % (nick, self.nicks[-1]))
|
||||||
if (nick != self.nicks[-1] or
|
if (nick != self.nicks[-1] and
|
||||||
len(output) + len(N_nicks) + len(self.nicks[i]) < 300):
|
len(output) + len(N_nicks) + len(self.nicks[i]) < 300):
|
||||||
continue
|
continue
|
||||||
else: output = self.input.replace("%n",nick)
|
else: output = self.input.replace("%n",nick)
|
||||||
@ -57,6 +57,7 @@ class Loop():
|
|||||||
weechat.command(self.buffer, output) #.encode("UTF-8"))
|
weechat.command(self.buffer, output) #.encode("UTF-8"))
|
||||||
# sleep(self.delay)
|
# sleep(self.delay)
|
||||||
output = self.input
|
output = self.input
|
||||||
|
N_nicks = ""
|
||||||
|
|
||||||
def masshl_cmd_cb(data, buffer, args):
|
def masshl_cmd_cb(data, buffer, args):
|
||||||
input = args
|
input = args
|
||||||
|
Loading…
Reference in New Issue
Block a user