mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
#27460 01/06/03 11:22 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
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
#27461 02/06/03 02:56 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
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 laugh


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#27462 02/06/03 03:11 AM
Joined: May 2003
Posts: 730
S
ScatMan Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
u could put just ctrl+o smirk

#27463 02/06/03 03:17 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
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
#27464 02/06/03 03:32 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
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!
#27465 02/06/03 03:38 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
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
#27466 28/08/03 09:21 PM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
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
Page 2 of 2 1 2

Link Copied to Clipboard