Subj : DDMsgReader - MCI Color Code Conversion To : Codefenix From : Nightfox Date : Mon Jan 09 2023 10:24 am Re: DDMsgReader - MCI Color Code Conversion By: Codefenix to Nightfox on Sun Jan 08 2023 12:31 pm Co> I made a local modification to DDMsgReader yesterday to convert Y-style Co> MCI color codes on Amiga systems to CTRL-A codes. Co> function convertYStyleMciCodesToCtrlA (str) { Co> There are a handful of Amiga boards on ArakNet and I think fsxNet and Co> FidoNet too, so thought it might be worth converting the Y-style codes. Co> Hope you find it useful. I'm not familiar with Y-style MCI color codes. I didn't know there were message boards where people were using those, but it would be good to support converting them. The only issue is if someone wants to use one of the character combinations in their message and don't intend for it to be a color code, it could be converted and then it would change the color but the person's message would not appear as intended. Co> Right now I'm just calling it everywhere msgbase.get_msg_body gets called, Co> but realized today it might make more sense if it were added to Co> attr_conv.js where the rest of the conversion functions live. :) Yes, attr_conv.js would be the best place for that. :) Most of the conversion functions in attr_conv.js are there to support Synchronet's settings for extra attribute codes (SCFG > Message Options > Extra Attribute Codes), where you can toggle whether those other attribute codes should be converted and used as color codes in messages. Currently, Y-style MCI color codes are not in there, but I suppose DDMsgReader could just go ahead and convert them by default (or maybe there could be a setting in DDMsgReader.cfg for whether or not to convert those). Nightfox --- þ Synchronet þ Digital Distortion: digitaldistortionbbs.com .