I'm not sure exactly what you are trying to achieve here. You are wanting people to be able to use a global chat but automatically send their game info? Not sure this is fully possible.
To add chat commands you want to edit bnalias.conf to add your command. For example, we use:
@
//chat
[*]/w *chat #${1-}#
A further explaination of what you are wanting to fully achieve may help.. thanks!
Owner of
SlashDiablo - One of the oldest and most well known Diablo II servers
Admin of
Resurgence - Vanilla++ mod
Co-Founder of
Hellforged - Diablo 09 built on 1.13 engine (current work in progress)
Founder of
Diablo2.org - Dedicated Discord server for PvPGN/D2GS questions