keep in mind, i have no clue how that will work out. It's just a suggestion. I tried change things to make it workable in the mafia plugin. You'll have to look through it all before trying it out.
if you really want me to, i'll add an opt-out function to kiwi, and you can use the mass.hilight function there whenever he's on.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have kiwi able to hilight everyone with the following code:
http://crayboff.pastebin.com/f22eb333a
---
In order to make an opt-out modify the code to:
http://crayboff.pastebin.com/f2ecb589d
keep in mind, i have no clue how that will work out. It's just a suggestion. I tried change things to make it workable in the mafia plugin. You'll have to look through it all before trying it out.
if you really want me to, i'll add an opt-out function to kiwi, and you can use the mass.hilight function there whenever he's on.
a change to my previous comment:
do not put:
self.userlist = [] in def irc_RPL_NAMREPLY(self, prefix, params):
place it under:
def joined(self, channel):
or whatever pygbot uses
Alright, assuming the previous code i have below is correct with mafia.py's modifications, then this should work:
http://crayboff.pastebin.com/f4da98f03
augh dammit, made some dumb mistakes with the code:
you will definitely have to fix stuff up so it will work with siobhan
http://crayboff.pastebin.com/f5d4d1d33