Message Notifier 1.2
  OS's this should work with: Win95/98/NT/2000/XP.
Copyright 2003 - Josh Rosenbaum
  Website: http://www.geocities.com/joshprogramming/
  Email: JoshProgramming@yahoo.com

If you have any input, bug reports, or feature requests, please send them to me. This
program does not communicate outside of Trillian, and contains no spyware.

Information About This Release:
     Well, this plugin took quite a bit of research on my part, as it is really the first
     windows programming I've done. I spent more time programming, and not too much time
     on this document, so if there are errors, I apologize. I wanted to get this out right
     away, so that you could use it immediately and give feedback. I should have called
     this a release candidate as I am the only one to have tested it. Anyhow, give it a
     spin. There will be more versions as I get time to work on this.

The Why Of This Plugin:
     It's simple really. I have my computer hooked up to a stereo, and the stereo isn't 
     always on. I thought it'd be great to just use the PC Speaker inside of the computer.
     My stereo isn't the only thing that isn't on all the time, though. My monitor is off 
     a lot too. So, I figured I needed a visual method to notify me of messages. Hence,
     the keyboard lights.

Why is it so big?
     Most people will laugh at the word 'big' here since hard drive space is so cheap
     these days, but some may want to know.
     The reason this DLL is a little larger is because I have included the songs within 
     the plugin. You can use UPX to compress the dll if you want to save disk space.

Disclaimer:
     This plugin SHOULD be safe, and I have tested it. I made this for you to use
     freely.  I'm not responsible for any damage, and I don't guarantee or warranty
     anything.

Installation:
     Not sure how this will be packaged, but if it doesn't have an install program then
     extract the dll somewhere (i.e. "C:\Program Files\Trillian"), then under preferences in
     Trillian, go to the Plugins section, and click on add. Find MessageNotifier.dll, and open
     it. That's it. NOTE: If you aren't using Windows 2000 or up, make sure kbhook.dll is in
     the same dir as MessageNotifier.dll.

Usage:
     Enable Notification somehow. You can do this through the Trillian list option, by
     setting it to start automatically in the preferences, or by activating the screen
     saver option on the Trillian list or in the preferences.) You may want to select a
     certain audio that is to your liking.  Check out the preferences page for options.

Removal:
     Just go into preferences, under the plugin section, click on Message Notifier, and
     then click remove. A window will popup asking if you want to delete you
     configuration. Go ahead and do this if you never plan on using this plugin again,
     or you just want to start from scratch. (It's probably a good idea to remove this
     before each upgrade.)

Help Needed:
     For starters, not all the songs in this plugin are Grade A 100% quality beeping
     songs. :) That needs to be fixed. I'd also like to add more sounds/songs to this
     program. If you can help, here's the information I need for each sound:
     I need each note, the octave, and the duration of the note. Perhaps in the format 
     (F#, 300) where the 300 is the number of milliseconds. I can't use chords. I can 
     also use notes in (frequency, duration) format as well. Such as: (3000,300).
     Here is a sample file:
     =========== ALARM.DAT =============
     Alarm
     750 400
     600 400
     ===================================
     The first line is the title of the song.
     Second line: Frequency of 750, and 400ms duration
     Third Line: Frequency of 600, and 400ms duration
     If you don't know what frequency of the note is, just put the note. (i.e. A, C, F#, etc)
     and I can convert them.

Features:
* -  Flash Num/Caps/Scroll Locks keys (selectable) when message received (until some user
     input found)
* -  Play audio (i.e. songs, sounds) when message received.  (Until user input found)
* -  Options to select various sounds/songs.
* -  Decrease/increase speed of audio.
* -  Option to start detection when screen saver starts or when you go away/invisible.
* -  Trillian list options to enable detection, the PC Speaker, and screen saver detection.
* -  Priority text options. When certain text (case doesn't matter) is typed in a message,
     priority audio will be played. If a message is received while the normal audio alarm is
     active, the priority audio will take over. In this same fashion, priority one audio will
     take precedence over priority two messages.
* -  Option to enable detection as soon as plugin is started.
* -  Play audio for a certain number of times
* -  Play audio for a certain amount of seconds

Known Bugs/Errata:
* -  Some songs play too fast or too slow. Use the multiplier feature in preferences for now
* -  Some songs have messed up notes
* -  Mail notification overrides away status, so the "Enable When Away/Invisible" option will
     not work correctly when mail comes in unless you are away on another connection.

Future Features I Am Thinking of Adding:
* -  Not a feature, but I have a bunch of optimizing I'd like to do
* -  Perhaps a 'light' version with not so many songs
* -  Sound when certain person sends message
* -  Ability to monitor certain connections only
* -  Knight Rideresque Lights
* -  Use sound card for notes
* -  Number of flashes indicate number of messages that have come in
* -  Activate alarm when monitor power goes off
* -  Allow people to send music strings and have them played
* -  Allow people to send a certain jukebox command and have song played
* -  Maybe make priority text case sensitive?
* -  More property pages. Probably in tabbed form
* -  Some different light usage

I would like to thank the following people for providing source, tunes, or help:
* -  Mark J. McGinty (NTKbdLites)
* -  Irek Zielinski (CLights)
* -  Anonymous: Whoever created the Tunes package
* -  Alexei Efros - Melody Master tunes
* -  arkon@ragestorm.com for keyhook source.
* -  Others on the Internet for help

Changes:
Version 1.1-1.2
* - Added a different LED Toggle method for USB keyboards, or others that might have problems.
* - Fixed some values not being loaded on startup.
* - Added option (set to default) that alternates lights now instead of flashing all at once.
* - Moved LED options around in preferences.
* - Changed various startup defaults.
* - Added song durations to title listing.
* - Increased size of drop down song window.
* - Added audio test feature.
* - Changed website. My college one was finally taken down. :(
* - Added option to detect when you are set to away, and to automatically enable notification.
    (Currently this activates when any connection goes to away/brb/invisible/etc. I may make it
    connection based later.)
* - Added keyboard detection for 95, 98, ME, and NT (Global hook) (kbhook.dll needs to be in
    same dir as MessageNotifier.dll)
* - Fixed bug where clearing priority text wouldn't actually clear it while the plugin was running.
