/font [-asgbd|window] <fontsize> <fontname>
This allows you to change the font for the current window. If no parameters are specified, the font dialog pops up, otherwise the specified parameters are used. You can make the font bold by using the -b
switch applies the setting to the active window, -s
to the status window, and -g
to the finger window.
switch makes the font the default for that type of window, eg. for all channels, or all chats.Note:
If you use a negative number for the font size, it will match the size of fonts in the font dialog.
What that means for you
is that your script can use the /font
command using the -d
switches to set the default font for all windows of that type.
font -d $chan(1) -12 Verdana
font -d $chat(1) -12 Verdana
font -s -12 Verdana
font -g -12 Verdana
For any windows you find that it doesn't change the font for, use /window -a <windowname>
to first switch to the window and then try using /font -ad -12 Verdana
to set it. Note that you may or may not be able to set the font for that window...if it's hard-coded into mIRC, you're out of luck. I don't recall if there are any or not, you'll have to play with it yourself to find out.