From WikiChip
Difference between revisions of "mirc/commands/font"
< mirc‎ | commands

(Created page with "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 u...")
 
(Example)
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{mirc title|/font Command}}
 
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.
 
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 ==
 
== Synopsis ==
  /font [-asbidz|window] <fontsize> <fontname>
+
  /font [-asbegilunkdmz|window] <fontsize> <fontname>
  
 
== Switches ==
 
== Switches ==
Line 9: Line 10:
 
* '''-b''' - makes the font bold
 
* '''-b''' - makes the font bold
 
* '''-i''' - makes the font italic
 
* '''-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
 
* '''-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
 
* '''-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
  
Line 18: Line 26:
  
 
== Example ==
 
== Example ==
<syntaxhighlight lang="mIRC">/font -z -8 verdana
+
<syntaxhighlight lang="mIRC">
/font -d"Status Window" -8 fixedsys
+
/font -z -8 Verdana
/font -s 12 verdana</syntaxhighlight>
+
/font -d "Status Window" -8 Fixedsys
 +
/font -s 12 Verdana
 +
</syntaxhighlight>
 +
 
 +
 
 +
An officially undocumented way to change the font for Switchbar:
 +
<syntaxhighlight lang="mIRC">
 +
/font switchbar -9 "Comic Sans MS"
 +
/font switchbar -8 Tahoma
 +
/font -b switchbar -10 Calibri
 +
</syntaxhighlight>
 +
 
 +
* After entering the command must restart mIRC.
  
 
== Compatibility ==
 
== Compatibility ==
 
Added: 3.92
 
Added: 3.92
 
Added On: 06/01/96
 
 
<small>Note: Individual switches were not taken into consideration.</small>
 
  
 
== See also ==
 
== See also ==
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of identifiers - mIRC|List of identifiers]]
 
* [[List of identifiers - mIRC|List of identifiers]]
 +
{{mIRC command list}}
  
[[Category:mIRC commands]]
+
[[Category:mIRC commands|font command - mIRC]]

Latest revision as of 10:22, 3 October 2023

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[edit]

/font [-asbegilunkdmz|window] <fontsize> <fontname>

Switches[edit]

  • -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[edit]

  • [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[edit]

/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 -9 "Comic Sans MS"
/font switchbar -8 Tahoma
/font -b switchbar -10 Calibri
  • After entering the command must restart mIRC.

Compatibility[edit]

Added: 3.92

See also[edit]

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy