mIRC Home    About    Download    Register    News    Help

Print Thread
#40492 08/08/03 10:57 AM
Joined: Feb 2003
Posts: 3,412
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
if i try using this code

//echo 4 $+ $chr(91) $+  $+ $time(HH:nn) $+ 4 $+ $chr(93) $+ 

then it takes the time HH:nn as a color, any way i can work around this? have been trying all ways i can think of.. must be a way to make mirc understand i want to see the time in default colour, but the brackets in another one.. sugestions? :tongue:

Joined: Dec 2002
Posts: 127
F
Vogon poet
Offline
Vogon poet
F
Joined: Dec 2002
Posts: 127
well, there isn't really a 'default' color.. the closest you'd have is 'normal'. use $color(normal) to get this number.

if you want mirc to use different colors, just put an additional ctrl+k and number in front of the text in the wrong color and mirc will color it how you want.

Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
Use double digits for the color codes 04 should stop that.

Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
Use the Ctrl+O (ASCII 15) character to end the control codes instead of Ctrl+K.

Joined: Feb 2003
Posts: 3,412
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,412
04 wont stop it.. but [CTRL+B][CTRL+B] did.. smile so i solved it shocked


Link Copied to Clipboard