weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [task #10881] /filter - substitution option


From: anonymous
Subject: [Weechat-dev] [task #10881] /filter - substitution option
Date: Mon, 22 Aug 2011 09:37:51 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0

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

Would be great to add this possibility, as said by deltafire cool functions
could be added. rmodifier is different in a way it does not allow to come back
to the original message.

eg. curious filter nick.
/filter add ignore * * nickt s/.*//

toggle long lines (here more than 50 char)
/filter add longline * * * s/(.{50}).*/1/

filter badwords
/filter add badword * * badword s/badword/☠☠☠/

undeline words
/filter add keyword * * keyword s/keyword/[color/bold/underline]keyword/

As discussed in the channel, it would be great also to add command triggers
(maybe an other command than filter)

eg. spam detection
/filter add spamfilter * * spam @print XYbuffer "spam detected"

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]