world.SetInputFont

MUSHclient script function (Method)

Sets the font for the input window

Prototype

void SetInputFont(BSTR FontName, short PointSize, short Weight, boolean Italic);

Data type meanings

Description

Use this to change the command window font. The *entire* window font changes, you cannot change individual lines or words.

Also see SetOutputFont.

The weight can be one of:

(Don't Care) 0
Thin 100
Extralight 200
Light 300
Normal 400
Medium 500
Semibold 600
Bold 700
Extrabold 800
Heavy 900

Italic can be true or false.

VBscript example

world.SetInputFont "Lucida Console", 15, 400, 0

Jscript example

world.SetInputFont("Lucida Console", 15, 400, 0);

PerlScript example

$world->SetInputFont("Lucida Console", 15, 400, 0);

Python example

world.SetInputFont("Lucida Console", 15, 400, 0)

Lua example

SetInputFont("Lucida Console", 15, 400, 0)

Lua notes

The Italic flag is optional, and defaults to false.

Return value

Nothing.

Related topic

Option setting and retrieval

See also

FunctionDescription
SetOutputFontSets the font for the output window.