# $context.serverHostName Returns the IRC server name of an IRC context
Usage
    $contex.serverHostName
    $contex.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> $contex.serverHostName
    <string> $contex.serverHostName(<irc_context_id:uint>)
See also
$context.serverport, $context.serveripaddress, $context.serverpassword

Index, Functions

KVIrc 3.4.2 Documentation
Generated by ports-i386 at Sun Mar 7 07:08:54 2010