[cl-irc-devel] message nickname

Hi, I have a simple msg-hook here: (defun msg-hook (message) (progn (format *jabber-bot-conn* "_~A_: /~a/" (cl-irc:user message) (second (cl-irc:arguments message))) (force-output *jabber-bot-conn*))) (cl-irc:user message) expression evaluates to strings like: ~mico or ~user, how can I get real nicknames instead of this ? Thank you. -- A vivid and creative mind characterizes you.

On 5/7/07, Mikhail Shevchuk <mikhail.shevchuk@gmail.com> wrote:
Hi,
I have a simple msg-hook here: (defun msg-hook (message) (progn (format *jabber-bot-conn* "_~A_: /~a/" (cl-irc:user message) (second (cl-irc:arguments message))) (force-output *jabber-bot-conn*)))
(cl-irc:user message) expression evaluates to strings like: ~mico or ~user, how can I get real nicknames instead of this ?
You can find the real nickname by using (cl-irc:source message). I don't think the documentation is really clear about this. I'll look into enhancing it. HTH, Erik.
participants (2)
-
Erik Huelsmann
-
Mikhail Shevchuk