mIRC Home    About    Download    Register    News    Help

Print Thread
#120404 17/05/05 01:37 PM
Joined: May 2005
Posts: 5
R
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: May 2005
Posts: 5
Hi,

Is there a way to make the text in my chat window black only, instead of all colors of the rainbow some people use?

Thanks.

#120405 17/05/05 01:44 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
What you could do is have an On Text event and strip colours.
Code:
On ^*:Text:*:*: {
  echo $target $+(<,$nick,>) $strip($1-,c)
  haltdef
}


Put that in Remote Scripts (Alt + R). If the page isn't black press File > NEw to create a new script.

-Andy

#120406 17/05/05 03:13 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
... or you could go to
Options > IRC > Messages > 'Strip codes from incoming messages:' box
and select each code (Bold/Underline/Color/Reverse) that you wish to strip.

Last edited by mIRCManiac; 17/05/05 03:15 PM.
#120407 17/05/05 03:14 PM
Joined: Oct 2003
Posts: 132
D
DV8 Offline
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2003
Posts: 132
Or go into Options (Alt+O, IRC, Messages) and under "Strip codes from incoming messages", check "Color".

Edit: Oops! Maniac beat me to it. smile

Last edited by DV8; 17/05/05 03:15 PM.
#120408 17/05/05 03:48 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Oops, you both beat me to that one. Entirely forgot about the messages in options. blush

-Andy

#120409 17/05/05 07:42 PM
Joined: May 2005
Posts: 5
R
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: May 2005
Posts: 5
Thanks everybody. I used the strip colors option. I had looked for an option like this, but I looked under Display, not Messages.

Thanks again.

#120410 22/07/06 05:00 PM
Joined: Aug 2003
Posts: 22
W
Ameglian cow
Offline
Ameglian cow
W
Joined: Aug 2003
Posts: 22
How do I strip just SPECIFIC colours, not all? I wrote the following script, but it doesn't strip the colours specified below in all messages that appear in mirc. like when I request the channel topic /topic $chan - the colours are not stripped. I can't see a god damn thing when e.g. yellow colour is used. There should be an option in mirc options to strip or replace just specific colours. But since there isn't, how can I extend my script to include every single message that appears in mirc, no matter who sends it and in what way?

Code:
on ^*:text:*11*:#: { echo 2 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:text:*9*:#: { echo 10 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:text:*8*:#: { echo 13 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  }
on ^*:text:*15*:#: { echo 3 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  }
on ^*:text:*0*:#: { echo 10 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  }  
on ^*:action:*11*:#: { echo 2 $chan $timestamp  <4 $+ $nick $+  >: $strip($1-) | HALTDEF  } 
on ^*:action:*9*:#: { echo 10 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:action:*8*:#: { echo 13 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:notice:*11*:#: { echo 2 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:notice:*9*:#: { echo 10 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:notice:*8*:#: { echo 13 $chan $timestamp  <4 $+ $nick $+  >: $strip($1-) | HALTDEF  } 
on ^*:notice:*15*:#: { echo 3 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:ctcp:*11*:#: { echo 2 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:ctcp:*9*:#: { echo 10 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:ctcp:*8*:#: { echo 13 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:ctcp:*15*:#: { echo 3 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:chat:*/ctcp*: { echo 4 -$chat(1) $strip($1-) | HALTDEF  } 
on ^*:chat:*11*: { echo 2 -$chat(1) <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:chat:*0*: { echo 2 -$chat(1) <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:chat:*9*: { echo 10 -$chat(1) <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:chat:*8*: { echo 10 -$chat(1) <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:chat:*14*: { echo 10 -$chat(1) <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:chat:*15*: { echo 3 -$chat(1) <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:text:*0*trigger*:#: { echo 6 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:action:*0*trigger*:#: { echo 6 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
on ^*:notice:*0*trigger*:#: { echo 6 $chan $timestamp  <4 $+ $nick $+ >: $strip($1-) | HALTDEF  } 
  


Link Copied to Clipboard