From WikiChip
Difference between revisions of "mirc/commands/font"
(→Example) |
(→Example) |
||
Line 30: | Line 30: | ||
/font -s 12 verdana</syntaxhighlight> | /font -s 12 verdana</syntaxhighlight> | ||
− | An officially undocumented way to change the font for | + | An officially undocumented way to change the font for Switchbar: |
<syntaxhighlight lang="mIRC"> | <syntaxhighlight lang="mIRC"> | ||
+ | /font switchbar "Comic Sans MS" -9 | ||
/font switchbar "Tahoma" -8 | /font switchbar "Tahoma" -8 | ||
/font -b switchbar "Calibri" -10 | /font -b switchbar "Calibri" -10 |
Revision as of 09:51, 3 October 2023
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /font command 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.
Synopsis
/font [-asbegilunkdmz|window] <fontsize> <fontname>
Switches
- -a - applies the setting to the active window
- -s - applies the setting to the status window
- -b - makes the font bold
- -i - makes the font italic
- -l - applies the setting to the channel list window
- -u - applies the setting to the url list window
- -n - applies the setting to the notify list window
- -k - applies the setting to the links window (/links)
- -g - applies the setting to the finger window (old feature that has been removed)
- -m - applies the setting to the message window (/dqwindow)
- -d - makes the font the default for that type of window
- -e - clears the font entry for that window
- -z - clears all font settings and sets all windows to the specified font. If no font is specified, all windows are set to default font settings
Parameters
- [window] - if none of the -azs switch is used, you must provide the name of a window instead
- <fontsize> - the size of the font, can be negative: it will then match the size of fonts in the font dialog
- <fontname> - the name of the font
Example
/font -z -8 verdana /font -d "Status Window" -8 fixedsys /font -s 12 verdana
An officially undocumented way to change the font for Switchbar:
/font switchbar "Comic Sans MS" -9 /font switchbar "Tahoma" -8 /font -b switchbar "Calibri" -10
Compatibility
Added: 3.92
See also
mIRC commands list