Emoticon

From TrillWiki

Jump to: navigation, search

Emoticons are little images that replace strings of text in message windows, channels and consoles.

Standard settings

<emoticon text="[trigger]" button="[yes/no]" sound="[sound name]">
<source name="bitmap name" top="" bottom="" left="" right=""/>
</emoticon>
Attribute Priority Description, Possible Values
text Required Text string which Trillian should recognize as this emoticon
button Optional Will this emoticon show up on the menu that appears when the emoticon button (message and channel windows) is pressed?

Yes, No (default)

sound Optional Sound to play when the emoticon appears
display Optional 1.0+ Sets the tooltip text for each emoticon on the emoticon button menu
medium Optional 1.0+ - can be "all" (default), "aim", "icq", "irc", "msn", "yahoo", or any other medium name. Allows skinner to skin different emoticons for each medium
transparent Optional 1.0+ - if set to "1", like with background code, enables the transparency properties of PNGs and GIFs


All the emoticons will need to be put inside an "emoticons" control in prefs, i.e. between the tags:

<control name="emoticons" type="emoticons">
</control>

Warning: the :S string is known to cause problems, so avoid its inclusion, or comment it out until the problem is sorted.

Since version 1.0, emoticons can be animated for Pro users. They must be in the form of animated GIF files, but apart from that, are declared as any normal emoticon. As a consideration for Basic users, be sure the first frame represents the emoticon, since Basic doesn't support animated emotes.

Trillian 2.0+ Settings

Trillian 2.0 introduced some extra settings for the emoticon window brought up by clicking the emot button in message windows / channels etc.

These are in the form of <settings name="" value=""> tags, <font> tags, and <color> tags. These also go between the "emoticons" <control> tags, and are as follows:

Settings
width
maxColumns
sectionLeftMargin
sectionRightMargin
sectionTopMargin
sectionBottomMargin
titleLeftMargin
titleHeight
iconSpacingX
iconSpacingY
Colors
hover-border
hover-back
hover-fore
normal-back
normal-fore
Fonts
section
Personal tools