You can't save a control code in an ini file. You'll need to either replace them with something else and then replace them with control codes when you read them back into your script, or you can use a text file, a variable, or some other method.

Here's an example of how to replace them:

//writeini test.ini Test Data $replace(This is bold and this isn't.,,$chr(131))

//echo -a $replace($readini(test.ini,Test,Data),$chr(131),)

Just use something that you won't normally have in your text, but which is a character than an INI will accept. For example, $chr(131) isn't likely to be used in your text. Use a different character for Bold and Underline and Color.

Last edited by Riamus2; 16/09/05 07:05 PM.

Invision Support
#Invision on irc.irchighway.net