taskWeeChat - Tasks: task #12018, /filter based on host/usermask


task #12018: /filter based on host/usermask

Submitted by:  Filip H.F. "FiXato" Slagter <fixato>
Submitted on:  Thu 03 May 2012 02:36:13 AM UTC  
Category:  irc plugin Should Start On:  Thu 03 May 2012 12:00:00 AM UTC
Should be Finished on:  Thu 03 May 2012 12:00:00 AM UTC Priority:  5 - Normal
Status:  Done Privacy:  Public
Percent Complete:  100% Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Open/Closed:  Closed
Planned Release:  1.0 IRC nick:  FiXato

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 12 Apr 2014 09:11:28 PM UTC, comment #2: 

Done, new tag in IRC messages is: "host_xxx" (for example: "host_~user@host.com").
And the function "string_match" now allows wildcard "*" inside mask, so it's easier to filter a hostname.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Thu 03 May 2012 02:37:46 AM UTC, comment #1: 

and part of my message didn't get through, probably due to broken markup.. So, here it is again:

What about adding tags to messages for these, such as:




Of course, for that to be useful, /filter should also support having the * wildcard in the middle of the tag and not just at the end, so one could do:

/filter add test * host_*.flashtux.org
/filter add test * usermask_Flash*@*flashtux.org

(or perhaps you have a better idea to do this)

Filip H.F. "FiXato" Slagter <fixato>
Thu 03 May 2012 02:36:13 AM UTC, original submission:  

Currently if I don't want to see messages by users from a certain host, I have to use /ignore.
However, this will permanently hide the messages from them, while I'd like to be able to toggle visibility.
So, I looked at /filter, but it doesn't seem to support filtering based on someone's host (zeta.flashtux.org) or usermask (~Flashcode@zeta.flashtux.org).

What about adding tags to messages for these, such as:

Filip H.F. "FiXato" Slagter <fixato>


(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 fixato (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-15 flashcode Open/ClosedOpen => Closed
    2014-04-12 flashcode CategoryNone => irc plugin
        StatusNone => Done
        Percent Complete0% => 100%
        Assigned toNone => flashcode
        Planned ReleaseNone => 1.0

    Back to the top

    Powered by Savane 3.7