|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,523 |
Heh, I initially thought about using 99 (btw, it is not the "normal text colour", it's the transparent colour; it makes a difference) but dismissed it because of this:
//var %x = ab,123,xy | !.echo -q $regsub(%x,/^(.)(.)(.*)(.)(.)$/g,\104\299\304\499\5,%x) | echo -s %x
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
|
|
|
|
Joined: Feb 2003
Posts: 2,812
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 2,812 |
Heh, I was just going to suggest ^k99 but I see codemastr just did. Transparent color? I know nothing about that... transparent would indicate something slightly more transparent than the value of $colour(Normal). I just changed my Normal Text color to Orange and sure enough, ^k99 looks orange. Another thing I discovered the other day, if you use 99 for a background color, it also displays the default background color. (This was slightly disappointing as I was trying to hide text using ^k99,99) Other alternatives would be ^o (if you have no reserve against using ^o, and have no other formatting to lose). I'd personally use that before doing ^b^b or ^u^u. I only ever use that method if I want to swear on a channel or on these forums. - Raccoon PS. I decided against speed testing this for today, got caught up doing outside work. sh[b][/b]it
Well. At least I won lunch. Good philosophy, see good in bad, I like!
|
|
|
|
Joined: May 2003
Posts: 730
Hoopy frood
|
OP
Hoopy frood
Joined: May 2003
Posts: 730 |
u could put just ctrl+o
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,523 |
These examples would make the difference more apparent:
//echo 4 -s one $+($chr(3),$color(normal),$chr(44),8two,$chr(3)) three
//echo 4 -s one $+($chr(3),99,$chr(44),8two,$chr(3)) three
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
|
|
|
|
Joined: Feb 2003
Posts: 2,812
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 2,812 |
Then I suppose you might call it the Default Color. Default Color == Normal Color, superseded by Line Color if present. It would still be more equivalent to a closing ^k character. Eg, using ^k99 in a topic would return it to Green instead of Black (vanilla colorset).
- Raccoon
Well. At least I won lunch. Good philosophy, see good in bad, I like!
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,523 |
Btw, in case there's a misunderstanding, I don't call it "transparent" color, Khaled does. /help control codes
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
|
|
|
|
Joined: Feb 2003
Posts: 810
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 810 |
99 is the default colour, not necessarily equal to $color(normal). It depends on what you specified as the colour parameter on echo/aline/etc, which is $color(normal) if not specified. It does almost what a closing ^k (or ^o, ignoring other ctrl codes) does, except that a closing ^k also blocks background colours, while using 99 you'd need ^k99,99 to do the same thing. This is why Khaled calls it transparent, I guess.
* cold edits his posts 24/7
|
|
|
|
|