Are you a chanop using weechat
in a channel which has the channel mode +r
set? Are you tired of running /whois
every time you want to ban someone? Then look no further! aban can save you these precious few seconds.
See the official WeeChat docs. There are no special steps needed for this script.
/aban aMisbehavingUser
or
/aquiet aMisbehavingUser
If the user is unidentified the standard mask will be applied as this script is just calling /ban
and /quiet
.
Keep in mind that /aban
does not only ban the user but it will kick them, too. This does not apply to /aquiet
.
This script has been tested. No cats have been eaten (so far). pylint
has also been run on this script.
This is unfortunate. Please create an issue for that and append some debug information:
- What IRC network the script was used on
- The
/who <nick> %a
output - Any errors or warnings you got in the weechat buffer
- Anything else that you think is relevant
Probably. This script does not use incredibly complex weechat API incantations. It was tested with version 3.0.1
and 3.1
.
Libera Chat, freenode, hackint and OFTC. It will work on any other IRC network which has the same behavior for /who <nick> %a
and supports $a:
.
Probably not. Since this project is quite simple it does not need a lot of maintenance and attention.
Basically "authenticated" or "account", also because it works with $a:
.
Since the only information the callback function gets is the nick and identified nick the script can only look for the nick in the dictionary of pending actions. If you target the same user on different servers simultaneously only one invocation will work and it might get the wrong account name. This is also an edge case. In order to solve this it is necessary to add more complexity to the script.