GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
bntext(5) FreeBSD File Formats Manual bntext(5)

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

The file bnmotd.txt contains text displayed by bnetd(1), 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.

bnetd(1)

Ross Combs (ross@bnetd.org)
2 August, 2001

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.