weechat-dev
[Top][All Lists]
Advanced

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

[Weechat-dev] [task #8848] allow the ability to hook printed messages an


From: anonymous
Subject: [Weechat-dev] [task #8848] allow the ability to hook printed messages and change them
Date: Sat, 15 Nov 2008 23:59:55 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en; rv:1.9.0.3) Gecko/20080528 Epiphany/2.22 Firefox/3.0

URL:
  <http://savannah.nongnu.org/task/?8848>

                 Summary: allow the ability to hook printed messages and
change them
                 Project: Wee Enhanced Environment for Chat
            Submitted by: None
            Submitted on: Sat 15 Nov 2008 11:59:53 PM UTC
                Category: None
         Should Start On: Sat 15 Nov 2008 12:00:00 AM UTC
   Should be Finished on: Sat 15 Nov 2008 12:00:00 AM UTC
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: Jason Ribeiro
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                IRC nick: jrib

    _______________________________________________________

Details:

Currently in 0.2.7, weechat_hook_print allows one to hook a printed message. 
I am requesting that a function be created that allows one to hook a message
and modify it before it is printed.

Example use-case:
Freenode prefixes messages from unidentified users with a '-' and messages
from identified users with a '+' if one enables CAPAB IDENTIFY-MSG.  With a
function as described above, one could create a plugin to remove '-' and '+'
from the message text and instead prefix the nick with '?' if the user is not
identified.  This is similar to how operators and voiced users are currently
distinguished by prefixes of '@' and '+'.




    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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