Why not create this command to return the network of the nick connected on a dcc file server or dcc bot? I really need a command of this type to resolve any bug's on my bot...
Is $scid($chat(nick).cid).network what you're after? You may have to add some sanity checking for chats that don't (or no longer) belong to a specific server.