Re: Changing the message levels?
Elmar Hoffmann <[email protected]>
| Newsgroups | gmane.network.irc.irssi.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
on Tue, Jan 11, 2005 at 00:22:21 +0100, SpOOnman wrote:
> 22:21:19 freenode > *** | Mode change +i for user PPP|SpOOnman
>
> It's a server message. It's timestamp, servername, line-beginning, and text. Generally I want to get rid of line-beginning (spaces + *** | ). I don't know a way to edit this message via theme file. I thought I can change it's level to public so it doesn't contain line-beginning.
No need to, you can use %[-st] at the beginning of the message to get
rid of line_start and timestamp.
These options are documented *cough* somewhere in the ChangeLog.
> Day changed to 11 jan 2005
>
> It is some client - crap message (I didn't check). I know I can edit it's style of displaying in my theme. But can I change this message level to be displayed as e.g. PUBLIC? To have the same style -> timepstamp, line beginning, text, not only text?
I had no luck trying %[+st] and %[+St] with the daychange format.
However as the time when the message is printed always is midnight,
you can simply fake it like that:
daychange = "00:00 {line_start} Day changed to %%d %%b %%Y";
elmar
--
.'"`. /"\
| :' : Elmar Hoffmann <[email protected]> ASCII Ribbon Campaign \ /
`. `' GPG key available via pgp.net against HTML email X
`- & vCards / \
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCZS1kPxAWkdmFAsURAkoCAKCnlTjfUetV++/IqvuKSzoHBcmQQwCcCpP/ ZOOsgtpbgc877VSxw2u3ZQI= =Atam -----END PGP SIGNATURE-----