scripts icon indicating copy to clipboard operation
scripts copied to clipboard

chanop.py: extban awareness

Open Mikaela opened this issue 11 years ago • 6 comments

Mainly $a (nickserv account) and $j (banlist from another channel).

It would be nice if I could see which people are affected by extbans.

For example if I set /mode +b $a:Dysforia I would like to know that it affects users Dysforia and Euforia who are logged in as the same name. (These two are my bots.)

Or if I am on channels #chan and #nel and #nel sets mode +b $j:#chan and #chan sets mode +b troll*!*@* I would like to see that on #nel where the user is also.

I hope I am making any sense and if I don't, but you understand anyway, please add comment with better explaining. I think that the first example makes more sense.

Mikaela avatar Jan 27 '15 13:01 Mikaela

This could probably be made more easily now that WeeChat has account-notify support.

kyrias avatar Feb 04 '15 12:02 kyrias

It seems like this would be difficult to do, you would need to hard-code the meaning of every extban on every different ircd.

For example, R: on inspircd does roughly the same thing as $a: on charybdis.

HelixSpiral avatar Apr 19 '15 23:04 HelixSpiral

Isn't that visible in ISUPPORT or something?

Mikaela avatar Apr 20 '15 05:04 Mikaela

Both have an EXTBAN in ISUPPORT, but not in the same format. The charybdis one is just a list of whatever ones are enabled, without requiring any form of ordering, and it seems like it’s the same for inspircd.

Anyway, that wouldn’t be too hard to do, you’d just need a dict of the supported ircd’s, and to support new ones you’d just have to add a new entry to the dict.

kyrias avatar Apr 20 '15 08:04 kyrias

If no one else is working on this, I can take a shot at it.

SamStrongTalks avatar Dec 01 '17 18:12 SamStrongTalks

@gildartsirc I don't think anyone is, so if you still feel like it, please do!

kyrias avatar Feb 01 '18 13:02 kyrias