Message Splitter 1.0
by TrillHunter


Installation
------------
Place the splitter.dll file in your plugins directory, then add it as a plugin
in Trillian, just as you would any other plugin.


Instructions
------------
Full instructions are given in Splitter's preferences dialog window, but the
main functionality of the plugin should be self-explanatory when it's needed.


Support/Comments
----------------
For all support/comments for this plugin, please visit:
http://trillian.cc/forums/showthread.php?s=&threadid=24579


Source Code
-----------
This plugin was written based on the sample plugin from Cerulean Studios.
Therefore, it may still have a few lines that are  Cerulean Studios. The rest,
with the exception of the name TrillHunter, is free for you to do with as you
please. If you modify this plugin, please update all references to "TrillHunter"
accordingly, either by replacing them with your own name, or by adding something
like "(modified by so-and-so)" after it.


F.A.Q.
------
Q. Why does this plugin never work, no matter how big a message I try to send?

A. First, make sure you do not have a message waiting to be sent by pressing the
Purge key (defaulted to Ctrl-Alt-P). If it still does not work, then the problem
is probably one of compatibility. See the following answer to the following
question for more detail.


Q. Why do the e2 and MyMoo plugins not work when this plugin is installed?

A. There are a few plugins that are incompatible with this one, due to the way
they must be written. Currently, these are the e2 and MyMoo plugins, but this
list may grow in the future. If one of these plugins is running at the same
time as this plugin, then only one of them will work, specifically, the one
that was loaded first.


Q. Why do I have to hit Ctrl-Alt-V for every piece of the message? Why can't
Splitter just send all the pieces for me?

A. Due to limitations in Trillian's plugin SDK, Splitter does not know who you
are sending your messages to.


Q. Why is the first piece of every message limited to 400 characters? Only MSN
limits you to 400 characters!

A. At the time when Splitter can capture the message, it doesn't know what
medium you are sending the message on. Once the first piece of the message has
been sent, the remaining pieces are split according to the maximum size allowed
by that medium.


Q. Why do ICQ messages get split every 450 characters? I can successfully send
thousands of characters in a message without going over the limit.

A. Offline ICQ messages are limited to 450 characters, and since this plugin
cannot know who you are sending messages to, it cannot determine whether or not
that person is online.


Q. Why is all formatting (color, bold, italic, etc) removed from my message
when it is split?

A. Trillian's plugin SDK, as documented at its website, only allows access to
this unformatted version of the text. I know a way to get around this, but that
will have to wait for a future version of this plugin.


Q. Why are return-lines removed from my message when it is split?

A. Return-lines are treated as formatting. Technically, this is because they
are HTML tags. For an explanation of why formatting is removed when messages
are split, see the question above this one.


Q. Why does this plugin not split some messages that are a little over 400
characters?

A. Most likely, that count of 400 characters includes return-lines, which are
not seen in the unformatted text sent to this plugin from Trillian. Since this
plugin does not know about them, it thinks the message is less than 400
characters, so it lets the message slip by unsplit.
