Skip to content

WeeChat script for IRC operators to perform actions on clients. Only compatible with Charybdis/ShadowIRCd +F SNOMASK.

License

Notifications You must be signed in to change notification settings

PonyChat/weechat-interactive-connection-list-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

WeeChat Interactive Connection List Script

Quickly KILL or AKILL network users from an interactive buffer using simple keyboard shortcuts.

Requirements

  • IRC Network
    • Charybdis-family IRCD
      • KILL Access
      • Global Connection Notices (SNOMASK +F, requires loaded IRCD module)
    • Atheme-Services
      • OperServ AKILL Access
  • WeeChat
    • Ruby 1.9 Plugin

Configuration

For the time being, configuration is done by editing conlist.rb. This will be moved to configuration settings within WeeChat very shortly.

  • server_name - the long format name of the IRC server buffer which receives the connection notices.
  • @ban_reason - the reason to use in the KILL and AKILL commands.

Usage

As clients connect and you receive the connection SNOTES, the Connections buffer will populate with a list of nicks, IPs, and status flags.

To navigate the list, use:

  • Up Arrow
  • Down Arrow
  • Page Up
  • Page Down

With an entry highlighted, you may use keyboard shortcuts to mark them for an action:

  • k - KILL
  • a - AKILL
  • u - cancel pending action

Once you have marked your targets, press enter to commit the pending tasks.

You may press c to clear the existing list of clients.

Commands will be throttled by your anti_flood_prio_low setting.

Notes

It is very possible to accidentally remove or ban large numbers of users with this script. During an incoming drone flood, it is also very easy to accidentally remove innocent users. To ensure you avoid these things, always pay close attention before sending commands.

About

WeeChat script for IRC operators to perform actions on clients. Only compatible with Charybdis/ShadowIRCd +F SNOMASK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages