# $context.serverdbServerHostName

Returns the original IRC server name of an IRC context

Usage

    $context.serverdbServerHostName
    $context.serverdbServerHostName(<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. The returned server name is the one that has been specified in the server database and may refer to a round-robin dns entry. However, this is the server name you want to use if you want to manipulate the serverdb entries related to the current connection.

Syntax Specification

    <string> $context.serverdbServerHostName
    <string> $context.serverdbServerHostName(<irc_context_id:uint>)

See also
$context.serverhostname, $context.serverport, $context.serveripaddress, $context.serverpassword

Index, Functions

KVIrc 4.2.0.6190 Documentation
Generated by root at Fri Sep 13 23:13:56 2013