Project

General

Profile

Cline » History » Revision 15

Revision 14 (Per Amundsen, 07/11/2016 01:34 AM) → Revision 15/20 (Per Amundsen, 12/14/2019 09:45 AM)

_Added in 1.9.3_ 

 */cline [-bhlmr] [c] <@name> <N|nick>* 

 Changes the color of the Nth line to color [c]. 

 If [c] is not defined, the line will be reset to default color. 

 *Switches* 

 -b - Indicates the [c] color is in [[$rgb]] format. *(AdiIRC only)* (AdiIRC only) 
 -h - Highlights the window's button. (if window is not active) 
 -l - Apply to side-listbox. side listbox. 
 -m - *TODO* TODO 
 -r - Reset an item in the side-listbox listbox to default; [c] parameter parm must be omitted. 
 omitted  
 -t - Apply to text buffer. *(AdiIRC only)* (AdiIRC only) 

 *Parameters* 

 [c] - Optional line color. 
 <@name> - Custom window name. 
 <N|nick> - Line number or matching side-listbox listbox item to color. 

 *Example* 
 <pre> 
 alias example { 
   ; Open a custom window. 
   /window @Example 
  
   ; Add a 'Hello World' line to the custom window. 
   /aline @Example Hello World 

   ; Change the color of the first line to red (4). 
   /cline 4 @Example 1 

   ; Change the color of the first line to rgb color blue 
   /cline -b $rgb(0,0,255) 1 
 } 
 </pre>