mIRC Home    About    Download    Register    News    Help

Print Thread
#90581 15/07/04 03:08 PM
Joined: Mar 2003
Posts: 21
N
Nanaki Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Mar 2003
Posts: 21
If I add mIRC's control codes (In this case bold, but also underline, reverse and colours) to the timestamp, they display for a brief period of time, then revert back to how it was before without the control codes. This usually happens when mIRC is restarted, but sometimes happens anyway.

A bug? Does anyone else have this problem, or is it just me?

Edit: Oops. Should have made this thread in "Bug Reports" really... ah well.

Last edited by Nanaki; 15/07/04 03:12 PM.
Joined: Jan 2004
Posts: 26
F
Ameglian cow
Offline
Ameglian cow
F
Joined: Jan 2004
Posts: 26
I think this is a (known) problem, cause mIRC does not write Color Codes to mirc.ini.

you can handle this by
Code:
on *:START: /timestamp [-fs|a|e] [on|off|default] [windowname]

The -f switch allows you to set the timestamp format, eg. /timestamp -f [HH:nn]

edit:

or maybe (also) on *:OPEN:*:*:

Last edited by Fibsi; 15/07/04 03:27 PM.
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
Just to add, not just mirc.ini - mIRC does not write colour codes to ini files at all (using /writeini of course).

Eamonn.

Joined: Jan 2004
Posts: 26
F
Ameglian cow
Offline
Ameglian cow
F
Joined: Jan 2004
Posts: 26
Right, here's a workaround for non-mirc.ini ini Files (remember: do not use /writeini on mirc.ini):
Code:
alias writeini2 writeini $1 $2 $3 $replace($remove($4-,^),,^O,,^B,,^U,,^K)
alias readini2 return $replace($readini($1,$2,$3),^O,,^B,,^U,,^K,)


^B = Bold
^U = Underline
^R = Reverse
^K = Color
^O = Resets all Codes


Link Copied to Clipboard