Actions
$font » History » Revision 8
« Previous |
Revision 8/9
(diff)
| Next »
Per Amundsen, 12/13/2019 09:08 PM
Added in 1.9.6
$font(N|name, t)
Returns the Nth installed font.
Parameters
N|name - Get the name of the Nth font, if N is 0, returns number of fonts. If a font name is entered, returns $true if the font is installed, otherwise $false.
t - List only truetype fonts. (AdiIRC only)
Example
; Get number of installed fonts. //echo -ag $font(0) ; Check if 'Verdana' is installed. if ($font(Verdana)) { echo -ag Verdana is installed } else { echo -ag Verdana is not installed }
Updated by Per Amundsen about 5 years ago · 8 revisions