bnmotd.txt

Langue: en

Autres versions - même langue

Version: 2 August, 2001 (debian - 07/07/09)

Section: 5 (Format de fichier)

NAME

bnmotd.txt, bnnews.txt bnissue.txt - messages for the Unix Battle.net® daemon

DESCRIPTION

The file bnmotd.txt contains text displayed by bnetd(8), when users first log into the server.

The file bnnews.txt contains text displayed when the user uses the /news chat command.

The files consist of raw text with printf-style formatting escapes. Each line of a file can contain a type formatter from the following list:

%B
Use the broadcast attribute (???).
%C
Execute the line as if the user entered it as a command.
%E
Use the error attribute (red).
%I
Use the info attribute (yellow). This is the same was %W.
%M
Normal chat message (white). This will appear as if the user said it.
%T
Emote chat message (???). This will appear as if the user said it.
%W
Use the warning attribute (yellow). This is the same was %I.

Within a line, any of the following format formatters may be used:

%%
Expand to a literal percent sign (%).
%a
Expand to the number of accounts on the server.
%c
Expand to the number of channels on the server. This includes all permanent and current temporary channels.
%g
Expand to the number of games on the server. This includes both public and private (passworded) games.
%h
Expand to the hostname of the server (as returned by gethostname(2)).
%i
Expand to this user's account ID number, formatted with a leading pound (#) sign and leading zeros.
%l
Expand to this user's current chat name which is usually the same
%r
Expand to the IP of the remote machine (the client).
%t
Expand to four character client tag.
%u
Expand to the number of users logged into the server.
%v
Expand to the version number of the server.

SEE ALSO

bnetd(8)

AUTHOR

Ross Combs (ross@bnetd.org)
Battle.net, Diablo, Starcraft, Brood War, Warcraft, and Blizzard Entertainment are trademarks or registered trademarks of Blizzard Entertainment in the U.S. and/or other countries. All rights reserved.

Neither this program nor the bnetd project are in any way affiliated with Blizzard Entertainment.