I've read the help quite a bit actually. I've been primarily referencing the in-application help though, so I don't often turn to the online help pages. And now after re-reading both again several times, I see why I missed it.
From mirc.chm (using mIRC 7.25):
Returns the name of the server to which you are currently connected.
If you are not currently connected to a server, it returns $null.
Returns the address of the Nth server in your irc servers list.
Properties: desc, port, group, pass
$server(0) returns the total number of servers in the servers list
$server(2) returns the address of the 2nd server
$server(2).desc returns the description of the 2nd server
$server(3).port returns the port(s) of the 3rd server
If you specify an irc server address and it is in your servers list, it returns its associated info.
$server(N).group is listed in "Properties", but then isn't described in the section immediately following. I probably skimmed right over the "Properties" list and just read the descriptions of .desc and .port below it. Though it may seem unnecessary, there should probably be descriptions for .group and .pass in that documentation as well.
On another pass of the online mIRC FAQ Section 7
, I did find this:
$server(N|nick) for the address, .desc for the description, .port for the port, .group for the group.
Still, I really should've seen that as I've been through that section multiple times, and I even quoted that segment in another thread on documentation inconsistency
. =/ (Interestingly, .pass isn't listed in the online section.)
Ah well, at least I learned how the $regex and $regml commands work doing it the hard way. Positive thinking!
The groups.ini file I ended up from a default mIRC installation with is 2952 bytes, after ini line and group labels and CRLFs. While it seems to me that someone would have to add quite a few of extra networks to jump over the 4096 byte mark, I decided I'd write the data to an ini file to avoid the problem should it occur.
I'll try to read more carefully next time, and perhaps not so late at night. Thanks for your help!