$network

From Scriptwiki
Jump to: navigation, search

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

$network

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.

Example

echo -ag $network

Echoes the network name of the active connection to the active window.

See Also

  • $serverip - Returns the server IP address.
  • $port - Returns the port number of the server to which you're currently connected.
  • $server - Returns the name of the server to which you are currently connected.