$emoticons » History » Version 2
Per Amundsen, 01/08/2017 01:03 AM
1 | 1 | Per Amundsen | _Added in 2.7_ |
---|---|---|---|
2 | |||
3 | *$emoticons(N|keyword)* |
||
4 | |||
5 | Returns the Nth emoticon, or the matching emoticon. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | N - The Nth emoticon. |
||
10 | keyword - The emoticon keyword to match. |
||
11 | |||
12 | *Properties* |
||
13 | |||
14 | .file - Returns the emoticon filename. |
||
15 | .key - Returns the emoticon keyword. |
||
16 | |||
17 | *Example* |
||
18 | |||
19 | <pre> |
||
20 | ; Print number of emoticons. |
||
21 | //echo -ag $emoticons(0) |
||
22 | |||
23 | ; Print the 5th emoticon. |
||
24 | 2 | Per Amundsen | //echo -ag The 5th emoticon keyword is $emoticons(5) |
25 | 1 | Per Amundsen | </pre> |