taskWeeChat - Tasks: task #10876, completion for /unban command


task #10876: completion for /unban command

Submitter:  None
Submitted:  Mon 17 Jan 2011 02:44:20 PM UTC
Votes: 1
Category:  irc plugin Should Start On:  Mon 17 Jan 2011 12:00:00 AM UTC
Should be Finished on:  Mon 17 Jan 2011 12:00:00 AM UTC Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  flashcode Percent Complete:  100%
Originator Name:  * Emralegna Originator Email:  * -email is unavailable-
Open/Closed:  Closed Planned Release:  2.2
IRC nick:  Emralegna
* Mandatory Fields

Add a New Comment Rich Markup

Sun 25 Mar 2018 08:55:59 AM UTC, comment #3: 

Completion added for /unban and /unquiet, in version 2.2.

Sebastien Helleu <flashcode>
Group administrator
Sun 06 Mar 2011 02:44:42 PM UTC, comment #2: 

oh this is actually a good idea and probably better than mine

Sun 06 Mar 2011 12:39:49 PM UTC, comment #1: 


I think there is also another way to improve /unban command. Here, when you want to unban the 42th ban, you will have to dash TAB 42 times. Another way to do this would be to assign numbers to bans. When you look at the list of bans (example following), you can peek the exact ban you want with its number, and so unban it. I think the features could completely coexist :)


/ban kushou kushou*!*@*
13:11:01  -- | Mode #channel [+b kushou!*@*] par kushou1
13:11:03  -- | Mode #channel [+b kushou*!*@*] par kushou1
13:11:30  -- | [#channel] -1- kushou*!*@* banni par kushou1 (kushou1) le dim., 06 mars 2011 13:11:00
13:11:30  -- | [#channel] -2- kushou!*@* banni par kushou1 (kushou1) le dim., 06 mars 2011 13:10:58
13:11:30  -- | [#channel] End of Channel Ban List
/unban 2
13:19:32  -- | Mode #channel [-b kushou*!*@*] par kushou1

Franck Michea <kushou>
Mon 17 Jan 2011 02:44:20 PM UTC, original submission:  

It would be great to get a completion of bans to ease the /unban process, by avoiding copy-pasting a few hosts. it should be done after doing a /ban, for Weechat to know the banlist first.

I wonder if this process (doing /ban first) can be done in the background, not printing the list in the buffer, when you first try completion (tab) after typing /unban ? Like that :

writing /unban in the input bar ;

tab here next ;

Weechat detects the unban command is written, then in background, it retrieves the ban list and prints nothing on the buffer ;

it prints then the first host in the banlist in the input bar ;

tabbing without space "scrolls" to the next host to unban (if the first one is not the one you want), when tabbing after adding a space adds next to the first host, the others you want to unban (to do multiple unban).



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by kushou (Posted a comment)
  • -email is unavailable- added by fixato (Voted in favor of this item)
  • -email is unavailable- added by None (Submitted the item)

    There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-25 flashcode Categorycommands irc plugin
        StatusNone Done
        Percent Complete0% 100%
        Assigned toNone flashcode
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.2
    2011-01-18 fixato Carbon-Copy- Added fixato

    Back to the top

    Powered by Savane 3.13-c54d.
    Corresponding source code