$network

From Scriptwiki
Revision as of 11:34, 12 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.