$context.serverHostName

Returns the IRC server name of an IRC context
Usage
$context.serverHostName
$context.serverHostName(<irc_context_id>)
Description
Returns the host name of the IRC server that was used to perform the connection in the specified irc context. If no irc_context_id is specified then the current irc_context is used. If the irc_context_id specification is not valid then this function returns nothing. If the specified IRC context is not currently connected then this function returns nothing. If the returned value is non empty then it will always be a valid DNS hostname that can be used to perform a real connection. Please note that this is different from $my.server() which might return an invalid DNS entry.
Syntax Specification
<string> $context.serverHostName
<string> $context.serverHostName(<irc_context_id:uint>)
See also
$context.serverport, $context.serveripaddress, $context.serverpassword

Index, Functions
KVIrc 4.0.3.4984 Documentation
Generated by builder at Fri Nov 12 01:12:46 2010