[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Erc-discuss] ERC - show user mode next to nick
From: |
Vivek Dasmohapatra |
Subject: |
Re: [Erc-discuss] ERC - show user mode next to nick |
Date: |
Thu, 20 Jan 2011 19:23:58 +0000 (GMT) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Thu, 20 Jan 2011, Jonathan Groll wrote:
A somewhat basic question:
I would like to display a channel status next to user nicks in IRC
channels (this is behaviour I am used to from irssi):
For instance, I would like to see @bigboss if the bigboss nick is a
channel op.
Actually, thinking about it (untested):
(defun format-erc-nick-flag-ops (&optional user channel-data)
"Return the nickname of USER.
See also `erc-format-nick-function'."
(when user
(let ((nick (erc-server-user-nickname user)))
(if (erc-channel-user-op-p nick)
(concat "@" nick)
nick)) ))
Then customise erc-format-nick-function to format-erc-nick-flag-ops
(you get the idea, I'm sure).