mIRC Home    About    Download    Register    News    Help

Print Thread
#241554 03/05/13 05:22 AM
Joined: May 2013
Posts: 4
O
Orion96 Offline OP
Self-satisified door
OP Offline
Self-satisified door
O
Joined: May 2013
Posts: 4
How do you change the color of a certain word that other people type? I tried the Control+k one and it didn't work.

Joined: Dec 2011
Posts: 18
J
Pikka bird
Offline
Pikka bird
J
Joined: Dec 2011
Posts: 18
Use alt+k instead.

Joined: May 2013
Posts: 4
O
Orion96 Offline OP
Self-satisified door
OP Offline
Self-satisified door
O
Joined: May 2013
Posts: 4
That doesn't change the certain word color though.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You would have to script it. Either use $replace() or use $regsubex() in an on TEXT event and have the event halt the normal display and show your version. Or, if you don't need the specific word highlighted and it's okay to highlight the entire line, then just use the highlight feature.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2011
Posts: 18
J
Pikka bird
Offline
Pikka bird
J
Joined: Dec 2011
Posts: 18
I really should have my coffee first. This will show the channel text event exactly as mirc would, except for the highlighted word. Where you see xx4 and xx1, type ctrl-k4 and ctrl-k1

ON ^*:TEXT:*:#: {
echo $chan $chr(91) $+ $left($time,5) $+ $chr(93) < $+ $nick $+ > $replace($1-,word,xx4wordxx1)
halt
}

Last edited by JohnEricNO; 04/05/13 02:19 PM.
Joined: May 2013
Posts: 4
O
Orion96 Offline OP
Self-satisified door
OP Offline
Self-satisified door
O
Joined: May 2013
Posts: 4
How do you highlight? The help doesn't say how to use it.

Joined: Oct 2012
Posts: 164
D
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2012
Posts: 164
Press Alt+B in mIRC and the Address Book will appear. You'll see the Highlight tab, click on that.
First ensure the Enable HIghlight checkbox is checked, then click Add.
Add a word, select where to watch for it... Message (or nickname/both).
Choose a color (and sound file if you like).
Check the Flash and Tip boxes as you like.
Then OK and OK

See also /help highlight

Deega #241607 05/05/13 06:14 PM
Joined: May 2013
Posts: 4
O
Orion96 Offline OP
Self-satisified door
OP Offline
Self-satisified door
O
Joined: May 2013
Posts: 4
Ok. Thank you!


Link Copied to Clipboard