Changing your text colour

Talk about anything about MSN Messenger for mIRC or leave some comments.
Post Reply
andyc
MSN for mIRC Creator
Posts: 243
Joined: Sun Dec 01, 2002 21:26 pm

Changing your text colour

Post by andyc »

If you're familiar with hexadecimal colour codes then you can perform the following:

Find the following line in msn.mrc:

Code: Select all

sockwrite -n chat. $+ $right($active,$calc($len($active)-1)) X-MMS-IM-Format: FN=Microsoft%20Sans%20Serif; EF=; CO=0; CS=1; PF=22
Replace CO=0 with CO=0000FF for red text, CO=00FF00 for green text, CO=FF0000 for blue text. Or you can use any combination of red, green and blue. FFFF00 for example will mix blue and green with no red.

Change it to this for blue:

Code: Select all

sockwrite -n chat. $+ $right($active,$calc($len($active)-1)) X-MMS-IM-Format: FN=Microsoft%20Sans%20Serif; EF=; CO=0000FF; CS=1; PF=22
You must also change another line if you're doing this, change:

Code: Select all

sockwrite -n chat. $+ $right($active,$calc($len($active)-1)) MSG %msn. [ $+ [ $right($active,$calc($len($active)-1)) ] ] N $calc($len(%msn.texttosend) + 132)
to

Code: Select all

sockwrite -n chat. $+ $right($active,$calc($len($active)-1)) MSG %msn. [ $+ [ $right($active,$calc($len($active)-1)) ] ] N $calc($len(%msn.texttosend) + 137)
I will hopefully implement a more user-friendly method soon. :)
Post Reply