| 1 |
.\" |
| 2 |
.\" Copyright (C) 1998 Mark Baysinger ([email protected]) |
| 3 |
.\" Copyright (C) 1998,1999,2000 Ross Combs ([email protected]) |
| 4 |
.\" Copyright (C) 1999 Rob Crittenden ([email protected]) |
| 5 |
.\" |
| 6 |
.\" This is free documentation; you can redistribute it and/or |
| 7 |
.\" modify it under the terms of the GNU General Public License as |
| 8 |
.\" published by the Free Software Foundation; either version 2 of |
| 9 |
.\" the License, or (at your option) any later version. |
| 10 |
.\" |
| 11 |
.\" The GNU General Public License's references to "object code" |
| 12 |
.\" and "executables" are to be interpreted as the output of any |
| 13 |
.\" document formatting or typesetting system, including |
| 14 |
.\" intermediate and printed output. |
| 15 |
.\" |
| 16 |
.\" This manual is distributed in the hope that it will be useful, |
| 17 |
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 |
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 |
.\" GNU General Public License for more details. |
| 20 |
.\" |
| 21 |
.\" You should have received a copy of the GNU General Public |
| 22 |
.\" License along with this manual; if not, write to the Free |
| 23 |
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, |
| 24 |
.\" USA. |
| 25 |
.\" |
| 26 |
.TH bntext 5 "2 August, 2001" |
| 27 |
.SH NAME |
| 28 |
bnmotd.txt, bnnews.txt bnissue.txt \- messages for the Unix Battle.net daemon |
| 29 |
.SH DESCRIPTION |
| 30 |
The file |
| 31 |
.I bnmotd.txt |
| 32 |
contains text displayed by |
| 33 |
.BR bnetd (1), |
| 34 |
when users first log into the server. |
| 35 |
.LP |
| 36 |
The file |
| 37 |
.I bnnews.txt |
| 38 |
contains text displayed when the user uses the /news chat command. |
| 39 |
.LP |
| 40 |
The files consist of raw text with printf-style formatting escapes. Each line |
| 41 |
of a file can contain a type formatter from the following list: |
| 42 |
.RS |
| 43 |
.TP |
| 44 |
.B %B |
| 45 |
Use the broadcast attribute (???). |
| 46 |
.TP |
| 47 |
.B %C |
| 48 |
Execute the line as if the user entered it as a command. |
| 49 |
.TP |
| 50 |
.B %E |
| 51 |
Use the error attribute (red). |
| 52 |
.TP |
| 53 |
.B %I |
| 54 |
Use the info attribute (yellow). This is the same was |
| 55 |
.B %W. |
| 56 |
.TP |
| 57 |
.B %M |
| 58 |
Normal chat message (white). This will appear as if the user said it. |
| 59 |
.TP |
| 60 |
.B %T |
| 61 |
Emote chat message (???). This will appear as if the user said it. |
| 62 |
.TP |
| 63 |
.B %W |
| 64 |
Use the warning attribute (yellow). This is the same was |
| 65 |
.B %I. |
| 66 |
.RE |
| 67 |
.LP |
| 68 |
Within a line, any of the following format formatters may be used: |
| 69 |
.RS |
| 70 |
.TP |
| 71 |
.B %% |
| 72 |
Expand to a literal percent sign (%). |
| 73 |
.TP |
| 74 |
.B %a |
| 75 |
Expand to the number of accounts on the server. |
| 76 |
.TP |
| 77 |
.B %c |
| 78 |
Expand to the number of channels on the server. This includes all |
| 79 |
permanent and current temporary channels. |
| 80 |
.TP |
| 81 |
.B %g |
| 82 |
Expand to the number of games on the server. This includes both |
| 83 |
public and private (passworded) games. |
| 84 |
.TP |
| 85 |
.B %h |
| 86 |
Expand to the hostname of the server (as returned by |
| 87 |
.BR gethostname (2)). |
| 88 |
.TP |
| 89 |
.B %i |
| 90 |
Expand to this user's account ID number, formatted with a leading |
| 91 |
pound (#) sign and leading zeros. |
| 92 |
.TP |
| 93 |
.B %l |
| 94 |
Expand to this user's current chat name which is usually the same |
| 95 |
.TP |
| 96 |
.B %r |
| 97 |
Expand to the IP of the remote machine (the client). |
| 98 |
.TP |
| 99 |
.B %t |
| 100 |
Expand to four character client tag. |
| 101 |
.TP |
| 102 |
.B %u |
| 103 |
Expand to the number of users logged into the server. |
| 104 |
.TP |
| 105 |
.B %v |
| 106 |
Expand to the version number of the server. |
| 107 |
.RE |
| 108 |
.SH "SEE ALSO" |
| 109 |
.TP |
| 110 |
.BR bnetd (1) |
| 111 |
.SH AUTHOR |
| 112 |
.TP |
| 113 |
Ross Combs (\[email protected]\fP) |