Difference between revisions of "$serverip"

From Scriptwiki
Jump to: navigation, search
 
m
 
(One intermediate revision by one other user not shown)
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 ==  
Take a look at [[$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 11: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.