# $context.serverdbNetworkName

Returns the original IRC network name of an IRC context

Usage

    $context.serverdbNetworkName
    $context.serverdbNetworkName(<irc_context_id>)

Description

Returns the name of the network for 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 network name is the one that has been specified in the server database and may not correspond to the real network name. However, this is the network name you want to use if you want to manipulate the serverdb entries related to the current connection.

Syntax Specification

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

See also
$context.serverhostname $context.networkname

Index, Functions

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