Project

General

Profile

$boldify » History » Revision 2

Revision 1 (Per Amundsen, 03/06/2017 08:46 PM) → Revision 2/5 (Per Amundsen, 03/08/2017 09:25 PM)

_Added in 2.8_ 

 *$boldify* 

 Returns [[$true]] if [[Options Dialog|Options]] -> [[Messages Options|Messages]] -> [[Messages_Options#Make-certain-part-of-messages-bold|Make certain part of messages bold]] is enabled, enabled and [[Messages_Options#Strip-mIRC-tags-colorsbolditalicunderline|Strip mIRC tags]] is disabled, otherwise [[$false]]. 

 --- 

 *$boldify(text)* 

 Returns text surrounded by [[Formatting text|bold character]] if [[Options Dialog|Options]] -> [[Messages Options|Messages]] -> [[Messages_Options#Make-certain-part-of-messages-bold|Make certain part of messages bold]] is enabled, enabled and [[Messages_Options#Strip-mIRC-tags-colorsbolditalicunderline|Strip mIRC tags]] is disabled, otherwise returns the text. 

 *Parameters* 

 text - The text to boldify 

 *Example* 

 <pre> 
 //echo -ag $boldify(I am bold) 
 </pre>