Added in 1.8.10

$network

Returns the name of the IRC network you are currently connected to.