Follow-up Comment #2, task #10881 (project weechat):

I've experimented a bit with /rmodifier, it almost does what I want but not
quite.  It appears to allow matched expressions to be nullified, censored or
left as is; it does not allow the the format or content to be altered.

The situation is I get sent lengthy messages from the server, for example:

17:11 EN -- xxx.xxxx.net (xxx.xxxx.net): *** Notice --           
BOPM!b...@xxx.xxxx.net{xxx.xxxx.net} added temporary 60 min. K-Line for
[*@61.160.83.138] [Temporary K-line 60 min. - You're listed on an IP
blacklist.  Please visit www.xxxxx.net/rbl.php for more information.
(ip=61.160.83.138&network=XxxxNet (2011/1/23 18.11)]

There is much redundant information here, what I'd like to actually see is:

17:11 EN BOPM *@61.160.83.138 

Or similar.  Obviously I could write a script to do this (which is what I had
in irssi), but the /filter and /rmodifier commands are almost there.

Let me know what you think, if this is beyond the scope of /rmodifier then
just close this task and I'll write a script for it instead :)

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?10881>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
Weechat-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to