writeini test.ini test $replace( $chan($chan).topic, $chr(3) , THISISACOLORCODE )
$replace( $readini(test.ini,test) , THISISACOLORCODE , $chr(3) )
And the problem is with windows, as mIRC uses window's functions to write & read ini's, and windows has a perverted fetish of stripping control codes, or something...