Difference between revisions of "$network"
From Scriptwiki
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
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. |
+ | |||
+ | * This function has no parameters. | ||
== Example == | == Example == | ||
− | [[echo]] - | + | |
− | + | [[echo]] -ag $network | |
+ | Echoes the network name of the active connection to the active window. | ||
== See Also == | == 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. | ||
[[Category:Other Identifiers]] | [[Category:Other Identifiers]] |
Latest revision as of 11:34, 12 April 2008
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.