Project

General

Profile

$ansi2mirc » History » Version 1

Per Amundsen, 02/15/2021 08:24 AM

1 1 Per Amundsen
_Added in 4.0_
2
3
*$ansi2mirc(ansi text)*
4
5
Converts "ANSI control codes":https://en.wikipedia.org/wiki/ANSI_escape_code into AdiIRC-supported [[Formatting Text|control codes]], including colors and font styles.
6
7
*Parameters*
8
9
ansi . The text containing  ANSI control codes to convert.
10
11
*Example*
12
13
<pre>
14
//echo -ag $ansi2mirc($chr(27) $+ [1;44;33mThis text is colored)
15
</pre>