Returns the name of the IRC network you are currently connected to.
Note that it may not be possible to get this info if a network doesn't provide it. QuakeNet does provide this information.
- This function has no parameters.
echo -ag $network
Echoes the network name of the active connection to the active window.