$network: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
'''Note''' that it may not be possible to get this info if a network doesn't provide it. QuakeNet '''does''' provide this information. | '''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]] | |||
* [[$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 10: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.