The script doesn't seem to read PRIVMSG
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xctts |
Fix Released
|
Low
|
motters |
Bug Description
Some IRC like Ustream send all messages in a channel as PRIVMSG and the script doesn't seem to recognize them. I'm not too familiar with writing plugins for xchat and my python is a little rusty, but I added a few lines and it works for ustream's irc. It seems there must be a more elegant way of doing this, but for now this works. Thanks for releasing a great plugin, it is exactly what I was looking for! If it's not appropriate to post the code in a bug report, then please let me know. I'm very new to launch pad.
I added the following to speak_msg():
nick = work[0]
if ':' in nick:
nicka = re.match(
nick = nicka.group(1)
......
msg = msg.rstrip('^')
if 'PRIVMSG' in msg:
msg = msg.replace ('PRIVMSG', '')
msga = re.match(
msg = msga.group(1)
to the very end of the script:
xchat.hook_
xchat.hook_
Changed in xctts: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → motters (fuzzgun) |
Changed in xctts: | |
status: | In Progress → Fix Released |
Do you have any particular Ustream channels as examples. Connecting XChat2 to Ustream as in these instructions
http:// youtu.be/ QXm6jWhHx90
I'm unable to reproduce the problem (don't see any PRIVMSG prefix).