$emoticons » History » Revision 3
Revision 2 (Per Amundsen, 01/08/2017 01:03 AM) → Revision 3/4 (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*
<pre>
; 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.
</pre>