Project

General

Profile

Actions

Added in 2.7

$emoticons(N|keyword)

Returns the Nth emoticon, or the matching emoticon.

Parameters

Parameter Description
N The Nth emoticon.
keyword The emoticon keyword to match.

Properties

Property Description
.file Returns the emoticon filename.
.key Returns the emoticon keyword.

Example

; Print number of emoticons.
//echo -ag $emoticons(0)

; Print the 5th emoticon.
//echo -ag The 5th emoticon keyword is $emoticons(5)

; Check if "Hello" is an emoticon.
//echo -ag Hello $iif($emoticons(Hello), is, is not) an emoticon.

Updated by Per Amundsen almost 2 years ago · 4 revisions

Also available in: PDF HTML TXT