Project

General

Profile

Formatting text » History » Revision 6

Revision 5 (Per Amundsen, 05/17/2015 02:20 AM) → Revision 6/83 (Per Amundsen, 05/17/2015 02:22 AM)

{{>toc}} 

 h1. Formatting text 

 AdiIRC supports control codes for formatting text. 

 h1. Colorchar 

 Colors blocks of text. 

 Ascii char [[$chr]](3) 

 Ctrl + K can be used in editbox to type this character. 

 The character can be follow by 2 digits that represent the color number, the colors can be changed in Options -> Colors -> mIRC Colors. 

 *Example* 
 <pre> 
 ; Prints the text 'Hello World' with color 4 which is red by default. 
 //echo -ag $chr(3) $+ 3 Hello world 

 ; Prints the text 'Hello World' with color 4 which is red by default and background color 12 which is blue by default. 
 //echo -ag $chr(3) $+ 3,12 Hello world 
 </pre> 

 h1. Boldchar  

 [[$chr]](2) - Ctrl + B - Makes the block bold. 

 h1. Italicchar  

 [[$chr]](29) - Ctrl + I - Makes the block italic. 

 h1. Underlinechar  

 [[$chr]](31) - Ctrl + U - Makes the block underline. 

 h1. Stopchar  

 [[$chr]](15) - Ctrl + O - Stops all formatting. 

 Alternative colorchar  

 [[$chr]](61442) - Alternative way to show any color.h1.