Project

General

Profile

Actions

$emoticons » History » Revision 3

« Previous | Revision 3/4 (diff) | Next »
Per Amundsen, 06/07/2018 06:53 PM


Added in 2.7

$emoticons(N|keyword)

Returns the Nth emoticon, or the matching emoticon.

Parameters

N - The Nth emoticon.
keyword - The emoticon keyword to match.

Properties

.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 6 years ago · 3 revisions

Also available in: PDF HTML TXT