# $gender

Returns the gender of the specified user

Usage

    $gender(<nickname>)

Description

Returns the gender, or 'unknown' if not setted from remote user, of the specified IRC user IF it is known.
The gender is known if $iswellknown returns 1.
The gender is generally known if the user is on a channel with you or has an open query with you.
Detailed explaination:
KVIrc has an internal database of users that are currently visible by *this client*: this includes users on open channels and queries.
The other IRC users are NOT in the database: this means that KVIrc knows NOTHING about them and can't return any information immediately. In this case this function will return an EMPTY string.
If a user is in the database, at least his nickname is known.
The username and hostname are known only if the server provides that information spontaneously or after a KVIrc request.
KVIrc requests user information for all the users in open queries and channels. This information takes some time to be retrieved, in this interval of time KVIrc knows only the user's nickname. This function will return the string "*" in this case.

Syntax Specification

    <string> $gender(<nickname:string>)

See also
$iswellknown, $hostname, $realname, [cmd]$username[/cmd]

Index, Functions

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