mIRC Home    About    Download    Register    News    Help

Print Thread
#40492 08/08/03 10:57 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
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:


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
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.


------
deep down, i'm really superficial.
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,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Use the Ctrl+O (ASCII 15) character to end the control codes instead of Ctrl+K.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
04 wont stop it.. but [CTRL+B][CTRL+B] did.. smile so i solved it shocked


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard