the way i posted it originally it should echo out the channel name in red the # symbol in yellow and the ~ in blue when using $replace(%319,the symbol to change color of,color of symobol~color of channel name that way it changes the ~to blue then it changes back to what color you want the text .so if you are using color number 11 for channel name
$replace(%319,~,blue color~channelname color)
12Channels:0412~0408#04chanelname @08#04channelname &08#04channelname
above is from the original response Channels: is blue then we swith to red for channelnames blue for ~ and yellow for #
if you replace #with yellow# you ave to then switch back to red for channel names the last number in the $replace sequence should be the same as the color of the channel name ? if you mean that @ ! + are not changed thats because they havent been replaced yet only the ~ and # have been done as i wasnt sure what modes you were dealing with you just add a new line for each additional mode
if ( @ isin %319 ) { set %319 $replace(%319,@,12@04) }