Emoticons Options » History » Version 9
Per Amundsen, 01/03/2018 04:03 PM
1 | 2 | Mr. BS | {{>toc}} |
---|---|---|---|
2 | |||
3 | 1 | Per Amundsen | h1. Emoticons Options |
4 | |||
5 | 8 | Per Amundsen | _Tip. [[Options Dialog|Options]] -> [[Messages Options|Messages]] -> [[Messages_Options#Pixel-spacing|Pixel spacing]] makes lines bigger, emoticons will also resize to be bigger._ |
6 | 5 | Per Amundsen | |
7 | 1 | Per Amundsen | h2. Use Emoticons |
8 | |||
9 | Enable or disable emoticons. |
||
10 | |||
11 | _Enabling emoticons only works on new messages after emoticons is enabled._ |
||
12 | |||
13 | 3 | Per Amundsen | _Animated gifs is not supported._ |
14 | |||
15 | _All icons will be resized/scaled to fit inside the text line height, aspect ratio will be preserved._ |
||
16 | |||
17 | 1 | Per Amundsen | h2. Case insensitive |
18 | |||
19 | If enabled, _text_ and _TEXT_ will both be replaced with the same icon, otherwise they could have different icons. |
||
20 | |||
21 | h2. Only replace whole words |
||
22 | |||
23 | If enabled, emoticons inside links and words will not be replaced. |
||
24 | 4 | Per Amundsen | |
25 | h2. Use regex to match a pattern |
||
26 | |||
27 | If enabled, allows using a custom [[Scripting_Regex|Regular Expression]] to match the emoticons trigger. |
||
28 | |||
29 | h2. Regex |
||
30 | |||
31 | The [[Scripting_Regex|Regular Expression]] to use when *Use regex to match a pattern* is enabled. |
||
32 | |||
33 | _<emote> in the regex will be replaced with the pattern (trigger|trigger|trigger)._ |
||
34 | 9 | Per Amundsen | |
35 | h2. Adding emoticons through scripting |
||
36 | |||
37 | Use [[/setoption]] Emoticons Emoticon_<matchtext> <filename>. |
||
38 | |||
39 | _\ and = characters must be escaped with a \ character._ |