$serverip: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
mNo edit summary
Daveoh (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Returns server IP address.
Returns server IP address.
  $serverip
  $serverip
* This function has no parameters.


== Example ==
== Example ==
  [[echo]] -a $serverip
 
Echos the serverip to your active window.
  [[echo]] -ag $serverip
Echos the server IP address to your active window.


== See Also ==  
== See Also ==  
* [[$network]], [[$port]] or [[$server]] to receive these information.
* [[$network]] - Returns the name of the IRC network you are currently connected to.
 
* [[$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:29, 12 April 2008

Returns server IP address.

$serverip
  • This function has no parameters.

Example

echo -ag $serverip

Echos the server IP address to your active window.

See Also

  • $network - Returns the name of the IRC network you are currently connected to.
  • $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.