# $iconname

Returns the name of an icon

Usage

    $iconname(<iconid>)

Description

Returns the name of a builtin icon given an <iconid>. The <iconid> is returned by the function $icon. If the <iconid> is not valid, an empty name is returned.
The following code will list all the available icon names:

        %i = 0
        do {
            %name = $iconname(%i)
            echo The icon by ID %i is named %name
            %i++
        } while(%name != "")

Syntax Specification

    $iconname(<iconid>)

Examples

        echo $iconname(24)
        echo $iconname($icon(linux))

See also
$iconname

Index, Functions

KVIrc 4.0.2.4740 Documentation
Generated by root at Tue Feb 1 06:16:04 2011