Ok.. I haven't read all the replies in detail, so I may be missing some clarification made beyond the initial post.

Correct me if I'm wrong, but in order to get the network of the active connection, you should use:

$network

There is absolutely NO reason to use $scid($activecid).network. It ALWAYS gives you the same reply as $network. EVERY $identifier is the equivalient of $scid($activecid).identifier.

Sorry for pointing out the obvious, but some of the helpers need to actually think through what the original poster's code is doing, rather than just assuming that they are using the correct command/identifier for that situation.

-genius_at_work