Page 1 of 1

Changing your text colour

Posted: Mon Jul 27, 2009 21:07 pm
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. :)