Difference between revisions of "$network"
From Scriptwiki
Line 2: | Line 2: | ||
$network | $network | ||
− | '''Note''' that it may not be possible to get this info if a network doesn't provide it. | + | '''Note''' that it may not be possible to get this info if a network doesn't provide it. QuakeNet '''does''' provide this information. |
== Example == | == Example == |
Revision as of 15:46, 11 December 2005
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.
Example
echo -a $network
This would echo the network name to your active window.
See Also
Take a look at $serverip, $port or $server to receive these information.