$port: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Doomie (talk | contribs)
No edit summary
 
Daveoh (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Returns the port number of the server to which you're currently connected.
Returns the port number of the server to which you're currently connected.
  $port
  $port
* This function has no parameters.


== Example ==
== Example ==
  [[echo]] -a $port
 
Echos the port to your active window.
  [[echo]] -ag $port
Echoes the port used for the active connection to your active window.


== See Also ==
== See Also ==
Take a look at [[$serverip]], [[$server]] or [[$network]] to receive these information.


* [[$serverip]] - Returns the server IP address.
* [[$server]] - Returns the name of the server to which you are currently connected.
* [[$network]] - Returns the name of the IRC network you are currently connected to.


[[Category:Other Identifiers]]
[[Category:Other Identifiers]]

Latest revision as of 10:32, 12 April 2008

Returns the port number of the server to which you're currently connected.

$port
  • This function has no parameters.

Example

echo -ag $port

Echoes the port used for the active connection to your active window.

See Also

  • $serverip - Returns the server IP address.
  • $server - Returns the name of the server to which you are currently connected.
  • $network - Returns the name of the IRC network you are currently connected to.