MyChannel by Zax for Reve de Dragon - Arak-Arahm european Alliance guild.

Based on AutoJoin by Krellmax.
Special thanks to Vjeux and Farang who save my life with great pieces of code.
German translation by Soulprayer.
Zax can sometimes be found at zax@tripoy.com

------------------------------------------------------------------
WHAT IS IT?
------------------------------------------------------------------
This WoW AddOn helps you to use and manage a custom chat channel:
	- friendly interface to define the custom channel - with or without password
	- interface displays a list of players connected to this channel. Players name are clickable to whisper or invite selected player in a group.
	- bindable key to start a message on this channel
	- ability to automatically join or not this channel upon login
	- any custom channel definition is linked to a single character on a single realm server

Though this AddOn can be optionally localized to display infos in the desired language, it doesn't require any specific localization to work.

------------------------------------------------------------------
QUICK START
------------------------------------------------------------------
	- /mcoptions : displays custom channel settings
	- /mcsay (or /mc) : start a message on the custom channel
	- /mchelp : displays available slash commands

------------------------------------------------------------------
INSTALLATION INSTRUCTIONS
------------------------------------------------------------------
1 - unzip and place "MyChannel" folder into your folder "wow/interface/addons/".
2 - bind keys for "MyChannel - Start message" with the standard shortcuts panel.
3 - optional: if you want to have your custom channel's messages displayed in a specific chat window, create now this new window - this can be done with a right-click on your "General" chat window - and rename this new window at your convenience.
4 - display MyChannel settings panel by clicking on the icon at the left of your minimap, or type /mcoptions in the chat box.
5 - define your custom channel (using a password is not recommended). If you have created a specific chat window at step 3, fill the "Window name" field with the name of this window. By default, custom chat messages are displayed in the "General" chat window. Now save your settings.
6 - you are ready to join your custom channel : click "Join".

------------------------------------------------------------------
USING NOTES
------------------------------------------------------------------
1 - to start a message on your custom channel, use your binded key or type /mcsay in the chat box, but please *never* type the channel number in the chat box - unlike you can do to talk to the "General" channel by typing "/1 ".

2 - Channel interface displays the list of connected players. Click on a player name to display infos about this player.

3 - if you want another player - who don't have MyChannel, just can't believe it! - to join your channel, give him the channel name and password.

4 - type /mchelp in the chat box to display available slash commands.

5 - due to a WoW internal limitation, you can only be in ten (10) chat channels at any given time. This does not include other chat types such as say, yell, party, raid, guild, officer, or whisper which are not considered channels.

6 - custom channel's name and password are case insensitive.

7 - remember a custom channel is defined by its name *and* its password.
Let's say you are connected to a channel named "Azeroth" with pass "secret". So a friend of yours will be able to connect to the channel "Azeroth" without password but this will create *another* channel and you will not be able to talk with your friend.

8 - the first player's name in the connected list is the name of the custom channel's owner (the one with "*").

------------------------------------------------------------------
TROUBLESHOOTING
------------------------------------------------------------------
1 - "Undead" chat channel:

An "Undead Channel" is a channel where you can only see "join/leave" messages but cant talk or see anything else - sometimes you can also read other messages but not write. It is due to an internal WoW bug and it is usually caused by exiting WoW while in an Out-Of-Zone channel (such as a wow crash while in one).
If this problem is persistant, you will have to:
	- leave all your channels in-game.
	- exit the game.
	- open your WTF/Account/<username>/<charname>/chat-cache.txt file on the affected character. Find the first place where it says "CHANNELS" and replace the next few lines with the following:
	
			CHANNELS
			END

			ZONECHANNELS 0

	- now save the file and log into wow. This will have reset your channels and you should be able to freely join the affect channel again.

2 - wrong password:

Sometimes when you startup and have defined a custom channel with "AutoJoin" set to true, MyChannel says that your channel's password is invalid. If this happens, just open MyChannel settings panel, click on "Leave" button, and then "Join".
In fact you can use this help process if you encounter any problem with MyChannel: leave and then join will reset your custom channel.
It appears that connecting to a private channel works better if you don't specify a password.

------------------------------------------------------------------
QUICK PROBLEM FIX
------------------------------------------------------------------
In case of problem connecting custom chanel, the first thing to do is to leave and then join again the channel in order to reset this channel.

------------------------------------------------------------------
TODO
------------------------------------------------------------------
- try to fix password's bug.
- list of connected players: display more infos, like players level and guild name.
- ability to store and load different custom channels.

------------------------------------------------------------------
Version history
------------------------------------------------------------------
- 2.0 - 12/10/06 : patch 2.0 compliant (TOC 20000).
- 1.14 - 07/10/06 : wow built-in slash command 'infodisc','chatlist' and 'chatwho' no longer trapped. Interface 11200 compliant.
- 1.13 - 06/20/06 : small bug when entering new area introduced in patch 1.10 fixed. Interface 11100 compliant.
- 1.12 - 01/20/06 : small bug at login introduced in version 1.11 fixed. Sticky property fixed.
- 1.11 - 01/05/06 : added german translation by Soulprayer. Interface 1900 compliant.
- 1.1 - 10/20/05 : custom channel is now "sticky". Better interface for "who" query in the connected players list.Added /mc slash command to start a message. Interface 1800 compliant.
- 1.0b7 - 09/26/05 : better interface informations. Enhanced connexion code.
- 1.0b6 - 09/15/05 : first beta for Reve de Dragon.

------------------------------------------------------------------

Have fun, and sorry for my awesome english ;-)