$context.networkName

$context.networkName Returns the IRC network name of an IRC context
Usage
<string> $context.networkName <string> $context.networkName(<irc_context_id:uint>)
Description
Returns the name of the network for the specified IRC context. If no irc_context_id is specified then the current irc_context is used. If the irc_context_id specification is not valid then this function returns nothing. If the specified IRC context is not currently connected then this function returns nothing. The network name is the one that the server reports or the one stored in the server database if the server reports no network name. This is equivalent to $my.network.
See also
$context.serverhostname $context.serverdbnetworkname

Index, Functions