MUDBRINGER
Menu

System & Session

P_connected

Syntax

@connected()

Use Case:

Returns 1 if the session is currently connected to a server, 0 otherwise.

Arguments:

  • (None)

Examples:

  1. /if {@connected()} {look} (Outputs ‘1’ or ‘0’)

See Also:

@ip

P_fontsize

Syntax

@fontsize({size})

Use Case:

Sets the terminal font size to the specified integer value.

Arguments:

  • {size}: The font size.

Examples:

  1. /echo @fontsize(12)

See Also:

/fontstretch, @fontstretch

P_fontstretch

Syntax

@fontstretch({x}, {y})

Use Case:

Adjusts the horizontal (x) and vertical (y) scaling of the terminal font.

Arguments:

  • {x}: Horizontal scale factor.
  • {y}: Vertical scale factor.

Examples:

  1. /echo @fontstretch(1.0, 1.1)

See Also:

/fontstretch, @fontsize

P_ip

Syntax

@ip()

Use Case:

Returns the IP address or hostname of the current server connection.

Arguments:

  • (None)

Examples:

  1. /echo Connected to @ip() (Outputs the host address)

See Also:

@ipp

P_sessionname

Syntax

@sessionname()

Use Case:

Returns the unique identifier/name of the current session.

Arguments:

  • (None)

Examples:

  1. /echo Working in: @sessionname() (Outputs the session name)

See Also:

@char