Project

General

Profile

$ansi2mirc » History » Revision 2

Revision 1 (Per Amundsen, 02/15/2021 08:24 AM) → Revision 2/3 (Per Amundsen, 02/16/2023 05:15 PM)

_Added in 4.0_ 

 *$ansi2mirc(ansi text)* 

 Converts "ANSI control codes":https://en.wikipedia.org/wiki/ANSI_escape_code into AdiIRC-supported [[Formatting Text|control codes]], including colors and font styles. 

 *Parameters* 

 table(ktable). 
 |*Parameter*|*Description*| 
 ansi . The text containing    ANSI control codes to convert. 

 *Example* 

 <pre> 
 //echo -ag $ansi2mirc($chr(27) $+ [1;44;33mThis text is colored) 
 </pre>