$my.ip Returns the current IP address |
Usage |
<string> $my.ip([irc_context_id:uint]) |
Description |
Returns the IP address of the current IRC context as known by the IRC server. The IP address is resolved as soon as the hostname is received from the server. If the hostname is masked or there is an error in the DNS lookup then you may get the real local host IP address as determined at connection startup. If the IRC context is not connected then an empty string is returned. If <irc_context_id> is specified this function returns acts as it was called in that irc_context. |