$boldify » History » Version 1
Per Amundsen, 03/06/2017 08:46 PM
| 1 | 1 | Per Amundsen | _Added in 2.8_ |
|---|---|---|---|
| 2 | |||
| 3 | *$boldify* |
||
| 4 | |||
| 5 | 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 and [[Messages_Options#Strip-mIRC-tags-colorsbolditalicunderline|Strip mIRC tags]] is disabled, otherwise [[$false]]. |
||
| 6 | |||
| 7 | --- |
||
| 8 | |||
| 9 | *$boldify(text)* |
||
| 10 | |||
| 11 | 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 and [[Messages_Options#Strip-mIRC-tags-colorsbolditalicunderline|Strip mIRC tags]] is disabled, otherwise returns the text. |
||
| 12 | |||
| 13 | *Parameters* |
||
| 14 | |||
| 15 | text - The text to boldify |
||
| 16 | |||
| 17 | *Example* |
||
| 18 | |||
| 19 | <pre> |
||
| 20 | //echo -ag $boldify(I am bold) |
||
| 21 | </pre> |