$imagechar » History » Version 2
Per Amundsen, 02/23/2023 01:49 PM
1 | 1 | Per Amundsen | _Added in 1.9.7_ |
---|---|---|---|
2 | |||
3 | *$imagechar(text)* |
||
4 | |||
5 | Replaces any emoticon triggers with a image tag. |
||
6 | 2 | Per Amundsen | |
7 | *Parameters* |
||
8 | |||
9 | table(ktable). |
||
10 | |*Parameter*|*Description*| |
||
11 | | text | The text to replace. | |
||
12 | |||
13 | *Example* |
||
14 | |||
15 | <pre> |
||
16 | ; Provided that there is an emoticon set for ":>", replaces the ":>" with $chr(61441) :> $chr(61441). |
||
17 | //echo -ag $imagechar(Replace :> smiley with an emoticon) |
||
18 | </pre> |