bntext(5)
๐ NAME ๐
okay so bestie, this is bntext โ the manual for the lil text files that feed your Unix Battle.net daemon all its messages โจ
the actual files are bnmotd.txt, bnnews.txt and bnissue.txt ๐ธ
๐ฆ DESCRIPTION ๐ฆ
so here's the tea, and it's genuinely so cute. bnmotd.txt holds the text that bnetd(1) shows off when people first log into the server ๐ first impressions, main character energy, etc.
then bnnews.txt is the one that pops up when someone runs the /news chat command ๐ฐโจ
and the files themselves? just raw text, but with printf-style formatting escapes sprinkled through them like glitter. every line of a file can start with a type formatter from this list ๐:
%Bโ use the broadcast attribute (???).%Cโ execute the line as if the user typed it in as a command ๐ like, actually runs it.%Eโ use the error attribute (red). red red red ๐จ%Iโ use the info attribute (yellow). this one is the same was%W.%Mโ normal chat message (white). it'll show up looking like the user said it ๐ฌ%Tโ emote chat message (???). this one also shows up like the user said it ๐%Wโ use the warning attribute (yellow). this is the same was%I.
and within a line, you can drop in any of these format formatters ๐ :
%%โ expands to a literal percent sign (%). classic escape behaviour, love that for us.%aโ expands to the number of accounts on the server ๐ข%cโ expands to the number of channels on the server. this counts all permanent channels and all the current temporary ones ๐%gโ expands to the number of games on the server. this counts both public and private (passworded) games ๐ฎ%hโ expands to the hostname of the server (as returned bygethostname(2)) ๐ฅ๏ธ%iโ expands to this user's account ID number, formatted with a leading pound (#) sign and leading zeros ๐%lโ expands to this user's current chat name, which is usually the same%rโ expands to the IP of the remote machine (the client) ๐%tโ expands to the four character client tag ๐ท๏ธ%uโ expands to the number of users logged into the server ๐ฏ%vโ expands to the version number of the server โญ
๐ SEE ALSO ๐
๐ซถ AUTHOR ๐ซถ
Ross Combs (ross@bnetd.org) โ thank you for your service, legend ๐
okay that's the whole page!! sending you the biggest hugs, this one is from the File Formats Manual, version bntext(5), dated 2 August, 2001 ๐โจ go forth and configure your daemon messages, bestie ๐
๐ฆ where this page comes from
- debian bookworm: pvpgn 1.8.5-3+b1 ยท GPL-2.0-or-later
- debian trixie: pvpgn 1.99.7.2.1+dfsg-2 ยท GPL-2.0-or-later
- ubuntu jammy: pvpgn 1.8.5-2.1ubuntu1 ยท GPL-2.0-or-later
- ubuntu noble: pvpgn 1.8.5-3ubuntu1 ยท GPL-2.0-or-later
- ubuntu questing: pvpgn 1.8.5-3ubuntu3
- ubuntu resolute: pvpgn 1.8.5-3ubuntu4 ยท GPL-2.0-or-later
- ubuntu stonking: pvpgn 1.99.7.2.1+dfsg-5 ยท GPL-2.0-or-later
- Copyright (C) 1998 Mark Baysinger (mbaysing@ucsd.edu)
- Copyright (C) 1998,1999,2000 Ross Combs (ross@bnetd.org)
- Copyright (C) 1999 Rob Crittenden (rcrit@greyoak.com)
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms