ChatAlert

1 - Adding 2 New ChatAlerts (System & Loot)

FUBAR SUPPORT Okay for fubar support not to much needs to be added, simply one lua file to make it work, I dont belive the libs have to be included, but they probley should be for ease of use. Simple download fubar or my BagSpace for the libs folder and the embeds.xml, add the embeds.xml to the begin of your TOC files as well as the fubar lua. Fubar does the rest, if fubar does not exist or used, then the lua is simply ignored simple and painless.

LUA CODE:

ChatAlertFu = AceLibrary("AceAddon-2.0"):new("AceDB-2.0", "AceConsole-2.0", "FuBarPlugin-2.0");

local tablet = AceLibrary("Tablet-2.0");

--
-- FuBar Options
ChatAlertFu.name = "ChatAlert";
ChatAlertFu.canHideText = true;
ChatAlertFu.defaultPosition = "LEFT";
ChatAlertFu.hasIcon = "Interface\\AddOns\\FuBar_ChatAlertFu\\icon";
ChatAlertFu.hasNoColor = true;
ChatAlertFu.cannotDetachTooltip = true;
ChatAlertFu.hideWithoutStandby = true;

ChatAlertFu:RegisterDB("ChatAlertFuDB");

function ChatAlertFu:OnClick()
      ChatAlert_toggle_visible();
end

function ChatAlertFu:OnTooltipUpdate()
   tablet:SetHint("Left-Click to open ChatAlert options.");
end

The icon can be any icon you wish (in blp format) so its not hard, the datbase dosnt even have to be included but I do just for future possible uses. Its easy to see here what libs from the libs folder are used, thats pretty much it, if you prefer or having diffcult I can zip up the files and post them to this ticket for use. Thats it for FuBar inclusion :)

ORIGNAL TICKET NOW CONDLUDED Hello i've been using ChatAlert quite a while now, and I did do some modifcations to this wonderfull addon since its gotten sort of ignored since PTR (know RL can be busy) and nothing new apparently figured i'd post what i've done here for use by the author. The Author no longer has the time to do this mod i'll gladly offer to take over while keeping full credit where its due. I leave that the author.

Basicly i've added two new ChatAlert's. One is system for any type of system messages.(obvious what that is) and the other is loot. Since I like to auto-loot it's nice to have my loot from chat show up in chat alert. It was one of the main reasons why I modifed this addon. I also have full implmentation into the UI options and also made a FuBar plugin for this as well(fubar plugin I may post sepreate if so desired). But enough with that on with the code.

First the options frame (base) has been re-sized for our new options/sliders and the like. Because of this i'm going to be posting the entire options frame code here.

XML ADDITIONS/Changes:

	<!-- Options frame -->
	<Frame name="ChatAlert_config" parent="UIParent" hidden="true" movable="true" enableMouse="True" frameStrata="HIGH">

		<Size><AbsDimension x="680" y="455"/></Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset><AbsDimension x="20" y="-125"/></Offset>
			</Anchor>
		</Anchors>

		<!-- Backdrop name="$parent_Backdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background"
		edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true" -->
		<Backdrop name="$parent_Backdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background"
		edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<EdgeSize>
				<AbsValue val="16"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="5" right="5" top="5" bottom="5"/>
			</BackgroundInsets>
		</Backdrop>	

		<Frames>
			<Button name="$parent_CloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"/>
				</Anchors>
			</Button>
			
			<!-- Text Options (Start) -->
			
			<CheckButton name="$parent_TYell" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent">
						<Offset>
							<AbsDimension x="200" y="-80"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("yell", this:GetChecked())

					</OnClick>
				</Scripts>
			</CheckButton>			

			<CheckButton name="$parent_TSay" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_TYell" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("say", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>			
			
			<CheckButton name="$parent_TWhisper" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_TSay" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("whisper", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="$parent_TGuild" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_TWhisper" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("guild", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="$parent_TParty" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_TGuild" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("party", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="$parent_TRaid" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_TParty" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("raid", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>						
			
			<CheckButton name="$parent_TChannel" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_TRaid"  relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("channel", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="$parent_TStartup" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_TChannel"  relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("startup", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="$parent_TSystem" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_TStartup"  relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("system", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="$parent_TLoot" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_TSystem"  relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("loot", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<!-- Text Options (End) -->
			
			<!-- Sound Options (Start) -->
			
			<CheckButton name="$parent_SYell" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent_TYell">
						<Offset>
							<AbsDimension x="30" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("yell", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>			
			
			<CheckButton name="$parent_SSay" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SYell" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("say", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>			
			
			<CheckButton name="$parent_SWhisper" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SSay" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("whisper", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="$parent_SGuild" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SWhisper" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("guild", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="$parent_SParty" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SGuild" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("party", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="$parent_SRaid" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SParty" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("raid", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
									
			<CheckButton name="$parent_SChannel" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SRaid"  relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("channel", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
									
			<CheckButton name="$parent_SStartup" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SChannel"  relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("startup", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="$parent_SSystem" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SStartup"  relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>

				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("system", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>

			<CheckButton name="$parent_SLoot" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SSystem"  relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("loot", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<!-- Sound Options (End) -->	

			<!-- Monster Text Options (Start) -->
			
			<CheckButton name="$parent_MTYell" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_SYell">
						<Offset>
							<AbsDimension x="50" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("monster_yell", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>			
			
			<CheckButton name="$parent_MTSay" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_MTYell" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("monster_say", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>			
			
			<CheckButton name="$parent_MTWhisper" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_MTSay" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleText("monster_whisper", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<!-- Monster Text Options (End) -->
			
			<!-- Monster Sound Options (Start) -->
			
			<CheckButton name="$parent_MSYell" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_MTYell">
						<Offset>
							<AbsDimension x="30" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("monster_yell", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>			
			
			<CheckButton name="$parent_MSSay" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_MSYell" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("monster_say", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>			
			
			<CheckButton name="$parent_MSWhisper" inherits="UICheckButtonTemplate">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent_MSSay" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_ToggleSound("monster_whisper", this:GetChecked())
					</OnClick>
				</Scripts>
			</CheckButton>
			
			<!-- Monster Sound Options (End) -->
			
			<!-- Slider for X position -->
			<Slider name="$parent_XSlider" inherits="OptionsSliderTemplate">
				<Size>
					<AbsDimension x="190" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="150" y="-300"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ChatAlert_TEXT_XSLIDERNAME);
						getglobal(this:GetName().."Low"):SetText("-600");
						getglobal(this:GetName().."High"):SetText("600");
						this:SetMinMaxValues(-600,600);
						this:SetValueStep(10);
					</OnLoad>
					<OnValueChanged>
						ChatAlert_XSlider_OnValueChanged();
					</OnValueChanged>
				</Scripts>
			</Slider>

			<!-- Slider for Y position -->
			<Slider name="$parent_YSlider" inherits="OptionsSliderTemplate">
				<Size>
					<AbsDimension x="190" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="150" y="-325"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ChatAlert_TEXT_YSLIDERNAME);
						getglobal(this:GetName().."Low"):SetText("-600");
						getglobal(this:GetName().."High"):SetText("600");
						this:SetMinMaxValues(-600,600);
						this:SetValueStep(10);
					</OnLoad>
					<OnValueChanged>
						ChatAlert_YSlider_OnValueChanged();
					</OnValueChanged>
				</Scripts>
			</Slider>

			<!-- Slider for fade time -->
			<Slider name="$parent_TimeSlider" inherits="OptionsSliderTemplate">
				<Size>
					<AbsDimension x="190" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="150" y="-350"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ChatAlert_TEXT_TIMESLIDERNAME);
						getglobal(this:GetName().."Low"):SetText("1");
						getglobal(this:GetName().."High"):SetText("10");
						this:SetMinMaxValues(1,10);
						this:SetValueStep(0.1);
					</OnLoad>
					<OnValueChanged>
						ChatAlert_TimeSlider_OnValueChanged();
					</OnValueChanged>
				</Scripts>
			</Slider>

			<!-- Slider for text height -->
			<Slider name="$parent_HeightSlider" inherits="OptionsSliderTemplate">
				<Size>
					<AbsDimension x="190" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="150" y="-375"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						getglobal(this:GetName().."Text"):SetText(ChatAlert_TEXT_HEIGHTSLIDERNAME);
						getglobal(this:GetName().."Low"):SetText("10");
						getglobal(this:GetName().."High"):SetText("40");
						this:SetMinMaxValues(10,40);
						this:SetValueStep(1);
					</OnLoad>
					<OnValueChanged>
						ChatAlert_HeightSlider_OnValueChanged();
					</OnValueChanged>
				</Scripts>
			</Slider>


			<Button name="$parent_AlertColorDemo" inherits="SmallTextButtonTemplate" text="ChatAlert_TEXT_COLORDEMO">
				<Size>
					<AbsDimension x="90" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="190" y="-400"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ChatAlert_OwnMessage(ChatAlert_TEXT_TIME1..ChatAlert_TextSettings["fadeTime"]..ChatAlert_TEXT_TIME2)
					</OnClick>
				</Scripts>
			</Button>

			<!-- select alert color -->
			<Button name="$parent_AlertColorSwatch" hidden="false">
				<Size>
					<AbsDimension x="16" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="150" y="-400"/>
							<!-- AbsDimension x="170" y="-360"/ -->
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parent_BG">
							<Size>
								<AbsDimension x="14" y="14"/>
							</Size>
							<Color r="1.0" g="1.0" b="1.0"/>
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnClick>
						ChatAlert_SelectAlertColor();
					</OnClick>
					<OnEnter>
						getglobal(this:GetName().."_BG"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
					</OnEnter>
					<OnLeave>
						getglobal(this:GetName().."_BG"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
					</OnLeave>
				</Scripts>
				<NormalTexture name="$parent_NormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
			</Button>

			<!-- configuration lines for named channels -->
			<Button name="ChatAlertListFrame1" inherits="ChatAlertListFrameTemplate" hidden="true" id="1">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="379" y="-80"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame2" inherits="ChatAlertListFrameTemplate" hidden="true" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame3" inherits="ChatAlertListFrameTemplate" hidden="true" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame2" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame4" inherits="ChatAlertListFrameTemplate" hidden="true" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame3" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame5" inherits="ChatAlertListFrameTemplate" hidden="true" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame4" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame6" inherits="ChatAlertListFrameTemplate" hidden="true" id="6">







				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame5" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame7" inherits="ChatAlertListFrameTemplate" hidden="true" id="7">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame6" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame8" inherits="ChatAlertListFrameTemplate" hidden="true" id="8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame7" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame9" inherits="ChatAlertListFrameTemplate" hidden="true" id="9">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame8" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame10" inherits="ChatAlertListFrameTemplate" hidden="true" id="10">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame9" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame11" inherits="ChatAlertListFrameTemplate" hidden="true" id="11">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame10" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame12" inherits="ChatAlertListFrameTemplate" hidden="true" id="12">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame11" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame13" inherits="ChatAlertListFrameTemplate" hidden="true" id="13">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame12" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame14" inherits="ChatAlertListFrameTemplate" hidden="true" id="14">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame13" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame15" inherits="ChatAlertListFrameTemplate" hidden="true" id="15">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame14" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame16" inherits="ChatAlertListFrameTemplate" hidden="true" id="16">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame15" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame17" inherits="ChatAlertListFrameTemplate" hidden="true" id="17">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame16" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame18" inherits="ChatAlertListFrameTemplate" hidden="true" id="18">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame17" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame19" inherits="ChatAlertListFrameTemplate" hidden="true" id="19">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame18" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame20" inherits="ChatAlertListFrameTemplate" hidden="true" id="20">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame19" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame21" inherits="ChatAlertListFrameTemplate" hidden="true" id="21">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame20" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame22" inherits="ChatAlertListFrameTemplate" hidden="true" id="22">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame21" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame23" inherits="ChatAlertListFrameTemplate" hidden="true" id="23">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame22" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame24" inherits="ChatAlertListFrameTemplate" hidden="true" id="24">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame23" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame25" inherits="ChatAlertListFrameTemplate" hidden="true" id="25">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame24" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame26" inherits="ChatAlertListFrameTemplate" hidden="true" id="26">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame25" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame27" inherits="ChatAlertListFrameTemplate" hidden="true" id="27">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame26" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame28" inherits="ChatAlertListFrameTemplate" hidden="true" id="28">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame27" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame29" inherits="ChatAlertListFrameTemplate" hidden="true" id="29">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame28" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame30" inherits="ChatAlertListFrameTemplate" hidden="true" id="30">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame29" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="ChatAlertListFrame31" inherits="ChatAlertListFrameTemplate" hidden="true" id="31">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame30" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<ScrollFrame name="ChatAlertListScrollFrame" inherits="FauxScrollFrameTemplate">
				<Size>
					<AbsDimension x="260" y="270"/>

				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="379" y="-80"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="$parentScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
							<Size>
								<AbsDimension x="20" y="260"/>
							</Size>
							<Anchors>
								<Anchor point="TOP" relativePoint="TOPRIGHT">
									<Offset>
										<AbsDimension x="13" y="5"/>
									</Offset>
								</Anchor>
							</Anchors>
							<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
						</Texture>
						<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
							<Size>
								<AbsDimension x="20" y="118"/>
							</Size>
							<Anchors>
								<Anchor point="BOTTOM" relativePoint="BOTTOMRIGHT">
									<Offset>
										<AbsDimension x="13" y="-2"/>
									</Offset>
								</Anchor>
							</Anchors>
							<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(ChatAlert_ITEM_HEIGHT, ChatAlert_Update);
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>

		</Frames>

		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parent_Title" inherits="GameFontNormal" text="ChatAlert_LABEL_OPTIONS" justifyH="CENTER" justifyV="TOP">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-10"/>
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-10" y="-30"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_TextHeaderText:SetText(ChatAlert_LABEL_OPTIONS)
						</OnLoad>
					</Scripts>
				</FontString>

				<FontString name="$parent_RadiobuttonHeader" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontHighlightSmall" text="ChatAlert_TEXT_RADIOBUTTONHEADER">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-60"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_TextHeaderText:SetText(ChatAlert_TEXT_RADIOBUTTONHEADER)
						</OnLoad>
					</Scripts>
				</FontString> 
				
				<FontString name="$parent_TYellText" inherits="GameFontNormalSmall" text="ChatAlert_OPTION_YELL">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>

								<AbsDimension x="25" y="-80"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_TSayText" inherits="GameFontNormalSmall" text="ChatAlert_OPTION_SAY">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_TYellText">
							<Offset>
								<AbsDimension x="0" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_TWhisperText" inherits="GameFontNormalSmall" text="ChatAlert_OPTION_WHISPER">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_TSayText">
							<Offset>
								<AbsDimension x="0" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_TGuildText" inherits="GameFontNormalSmall" text="ChatAlert_OPTION_GUILD">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_TWhisperText">
							<Offset>
								<AbsDimension x="0" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_TPartyText" inherits="GameFontNormalSmall" text="ChatAlert_OPTION_PARTY">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_TGuildText">
							<Offset>
								<AbsDimension x="0" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_TRaidText" inherits="GameFontNormalSmall" text="ChatAlert_OPTION_RAID">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_TPartyText">
							<Offset>
								<AbsDimension x="0" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_TChannelText" inherits="GameFontNormalSmall" text="ChatAlert_OPTION_CHANNEL">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_TRaidText">
							<Offset>
								<AbsDimension x="0" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_TStartupText" inherits="GameFontNormalSmall" text="ChatAlert_TEXT_SPEAKLOADMESSAGE">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_TChannelText">
							<Offset>
								<AbsDimension x="0" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_TSystemText" inherits="GameFontNormalSmall" text="ChatAlert_OPTION_SYSTEM">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_TStartupText">
							<Offset>
								<AbsDimension x="0" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_TLootText" inherits="GameFontNormalSmall" text="ChatAlert_OPTION_LOOT">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parent_TSystemText">
							<Offset>
								<AbsDimension x="0" y="-20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="$parent_PlayerHeader" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontHighlightSmall" text="ChatAlert_TEXT_PLAYER">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="205" y="-40"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_TextHeaderText:SetText(ChatAlert_TEXT_PLAYER)
						</OnLoad>
					</Scripts>
				</FontString> 
				
				<FontString name="$parent_MonsterHeader" justifyH="CENTER" justifyV="TOP" hidden="false" inherits="GameFontHighlightSmall" text="ChatAlert_TEXT_MONSTER">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="285" y="-40"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_TextHeaderText:SetText(ChatAlert_TEXT_MONSTER)
						</OnLoad>
					</Scripts>
				</FontString> 
				
				<FontString name="$parent_TextHeader" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontHighlightSmall" text="ChatAlert_TEXT_HEADER">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="200" y="-60"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_TextHeaderText:SetText(ChatAlert_TEXT_HEADER)
						</OnLoad>
					</Scripts>
				</FontString> 
		
				<FontString name="$parent_SoundHeader" justifyH="CENTER" justifyV="TOP" hidden="false" inherits="GameFontHighlightSmall" text="ChatAlert_SOUND_HEADER">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="230" y="-60"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_TextHeaderText:SetText(ChatAlert_SOUND_HEADER)
						</OnLoad>
					</Scripts>
				</FontString> 

				<FontString name="$parent_MTextHeader" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontHighlightSmall" text="ChatAlert_TEXT_HEADER">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="280" y="-60"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_MTextHeaderText:SetText(ChatAlert_TEXT_HEADER)
						</OnLoad>
					</Scripts>
				</FontString> 
		
				<FontString name="$parent_MSoundHeader" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontHighlightSmall" text="ChatAlert_SOUND_HEADER">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="310" y="-60"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_MTextHeaderText:SetText(ChatAlert_SOUND_HEADER)
						</OnLoad>
					</Scripts>
				</FontString> 

				<FontString name="$parent_ChannelDetailHeader" justifyH="LEFT" justifyV="TOP" inherits="GameFontHighlightSmall" text="ChatAlert_OPTION_CHANNEL">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="375" y="-60"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="$parent_CDTextHeader" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontHighlightSmall" text="ChatAlert_TEXT_HEADER">
					<Anchors>
						<Anchor point="BOTTOM" relativeTo="$parent_ChannelDetailHeader" relativePoint="BOTTOM">
							<Offset>
								<AbsDimension x="170" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_MTextHeaderText:SetText(ChatAlert_TEXT_HEADER)
						</OnLoad>
					</Scripts>
				</FontString> 
		
				<FontString name="$parent_CDSoundHeader" justifyH="LEFT" justifyV="TOP" hidden="false" inherits="GameFontHighlightSmall" text="ChatAlert_SOUND_HEADER">
					<Anchors>
						<Anchor point="BOTTOM" relativeTo="$parent_ChannelDetailHeader" relativePoint="BOTTOM">
							<Offset>
								<AbsDimension x="200" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnLoad>
							ChatAlert_config_MTextHeaderText:SetText(ChatAlert_SOUND_HEADER)
						</OnLoad>
					</Scripts>
				</FontString> 


				<FontString name="$parent_XSliderText" inherits="GameFontNormalSmall" text="ChatAlert_TEXT_XSLIDERNAME">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-300"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
	
				<FontString name="$parent_YSliderText" inherits="GameFontNormalSmall" text="ChatAlert_TEXT_YSLIDERNAME">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-325"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

	
				<FontString name="$parent_TimeSliderText" inherits="GameFontNormalSmall" text="ChatAlert_TEXT_TIMESLIDERNAME">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-350"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_HeightSliderText" inherits="GameFontNormalSmall" text="ChatAlert_TEXT_HEIGHTSLIDERNAME">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-375"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="$parent_AlertColorText" inherits="GameFontNormalSmall" text="ChatAlert_TEXT_COLOR">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-400"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
	
			</Layer>
	
		</Layers>

		<Scripts>
			<OnLoad>
				this:RegisterForDrag("LeftButton");
				this:Show();
			</OnLoad>
			<OnShow>
				ChatAlert_OnShow();
			</OnShow>
			<OnHide>
				ChatAlert_OnHide();
			</OnHide>
			<OnDragStart>
				this:StartMoving();
			</OnDragStart>
			<OnDragStop>
				this:StopMovingOrSizing();
			</OnDragStop>
		</Scripts>

	</Frame>

Next is the acutal code changes, these are additions only really and as such i'm just going to show the new additions here (with added comments)

LUA ADDITIONS:

--New Global Varibles--
ChatAlert_TextSettings["system"] = 1;
ChatAlert_TextSettings["loot"] = 1;
ChatAlert_SoundSettings["system"] = 1;
ChatAlert_SoundSettings["loot"] = 1;

--Under ChatAlert_OnLoad()--
	this:RegisterEvent("CHAT_MSG_SYSTEM");
	this:RegisterEvent("CHAT_MSG_LOOT");

--Under ChatAlert_Initialize()--
	ChatAlert_config_TSystem:SetChecked(ChatAlert_TextSettings["system"]);
	ChatAlert_config_TLoot:SetChecked(ChatAlert_TextSettings["loot"]);
	ChatAlert_config_SSystem:SetChecked(ChatAlert_SoundSettings["system"]);
	ChatAlert_config_SLoot:SetChecked(ChatAlert_SoundSettings["loot"]);

--Under ChatAlert_OnEvent(event, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)--
		elseif  (strsub(event, 1, 15) == "CHAT_MSG_SYSTEM") then
			if (ChatAlert_SoundSettings["system"] == 1) then
				PlaySoundFile("Interface\\AddOns\\ChatAlert\\Soundfiles\\ca_raid.wav");
			end
			if (ChatAlert_TextSettings["system"] == 1) then
				ChatAlert_ChatMessage("[System] " .. sMsg, ChatTypeInfo["SYSTEM"]);
			end
		elseif  (strsub(event, 1, 13) == "CHAT_MSG_LOOT") then
			if (ChatAlert_SoundSettings["loot"] == 1) then
				PlaySoundFile("Interface\\AddOns\\ChatAlert\\Soundfiles\\ca_raid.wav");
			end
			if (ChatAlert_TextSettings["loot"] == 1 ) then
				ChatAlert_ChatMessage("[Loot] " .. sMsg, ChatTypeInfo["LOOT"]);
			end

Thats pretty much all i've really done. Hope it helps :) Any questions/whatever just hollar at me.

User When Change
Quickshot14 Wed, 22 Apr 2009 03:33:56 Changed description:
+ **FUBAR SUPPORT**
+ Okay for fubar support not to much needs to be added, simply one lua file to make it work, I dont belive the libs have to be included, but they probley should be for ease of use. Simple download fubar or my BagSpace for the libs folder and the embeds.xml, add the embeds.xml to the begin of your TOC files as well as the fubar lua. Fubar does the rest, if fubar does not exist or used, then the lua is simply ignored simple and painless.
+
+ LUA CODE:
+ <<code lua>>
+ ChatAlertFu = AceLibrary("AceAddon-2.0"):new("AceDB-2.0", "AceConsole-2.0", "FuBarPlugin-2.0");
+
+ local tablet = AceLibrary("Tablet-2.0");
+
+ --
+ -- FuBar Options
+ ChatAlertFu.name = "ChatAlert";
+ ChatAlertFu.canHideText = true;
+ ChatAlertFu.defaultPosition = "LEFT";
+ ChatAlertFu.hasIcon = "Interface\\AddOns\\FuBar_ChatAlertFu\\icon";
+ ChatAlertFu.hasNoColor = true;
+ ChatAlertFu.cannotDetachTooltip = true;
+ ChatAlertFu.hideWithoutStandby = true;
+
+ ChatAlertFu:RegisterDB("ChatAlertFuDB");
+
+ function ChatAlertFu:OnClick()
+       ChatAlert_toggle_visible();
+ end
+
+ function ChatAlertFu:OnTooltipUpdate()
+    tablet:SetHint("Left-Click to open ChatAlert options.");
+ end
+ <</code>>
+
+ The icon can be any icon you wish (in blp format) so its not hard, the datbase dosnt even have to be included but I do just for future possible uses. Its easy to see here what libs from the libs folder are used, thats pretty much it, if you prefer or having diffcult I can zip up the files and post them to this ticket for use. Thats it for FuBar inclusion :)
+
+ **ORIGNAL TICKET NOW CONDLUDED**
- Hello i've been using ChatAlert quite a while now, and I did do some modifcations to this wonderfull addon since its gotten sort of ignored since PTR (know RL can be busy) and nothing new apparently figured i'd post what i've done here for use by the author. The Author no longer has the time to do this mod i'll gladly offer to take over while keeping full credit where its due. I leave that the author.
+ --Hello i've been using ChatAlert quite a while now, and I did do some modifcations to this wonderfull addon since its gotten sort of ignored since PTR (know RL can be busy) and nothing new apparently figured i'd post what i've done here for use by the author. The Author no longer has the time to do this mod i'll gladly offer to take over while keeping full credit where its due. I leave that the author.
- Basicly i've added two new ChatAlert's. One is system for any type of system messages.(obvious what that is) and the other is loot. Since I like to auto-loot it's nice to have my loot from chat show up in chat alert. It was one of the main reasons why I modifed this addon. I also have full implmentation into the UI options and also made a FuBar plugin for this as well(fubar plugin I may post sepreate if so desired). But enough with that on with the code.
+ --Basicly i've added two new ChatAlert's. One is system for any type of system messages.(obvious what that is) and the other is loot. Since I like to auto-loot it's nice to have my loot from chat show up in chat alert. It was one of the main reasons why I modifed this addon. I also have full implmentation into the UI options and also made a FuBar plugin for this as well(fubar plugin I may post sepreate if so desired). But enough with that on with the code.
- First the options frame (base) has been re-sized for our new options/sliders and the like. Because of this i'm going to be posting the **//entire//** options frame code here.
+ --First the options frame (base) has been re-sized for our new options/sliders and the like. Because of this i'm going to be posting the **//entire//** options frame code here.
- XML ADDITIONS/Changes:
+ --XML ADDITIONS/Changes:
  <<code xml>>
  	<!-- Options frame -->
  	<Frame name="ChatAlert_config" parent="UIParent" hidden="true" movable="true" enableMouse="True" frameStrata="HIGH">
----------------------------------------
  				<Scripts>
  					<OnClick>
  						ChatAlert_ToggleText("yell", this:GetChecked())
+
  					</OnClick>
  				</Scripts>
  			</CheckButton>
----------------------------------------
  						</Offset>
  					</Anchor>
  				</Anchors>
+
  				<Scripts>
  					<OnClick>
  						ChatAlert_ToggleSound("system", this:GetChecked())
----------------------------------------
+
  				<Anchors>
  					<Anchor point="TOPLEFT" relativeTo="ChatAlertListFrame5" relativePoint="BOTTOMLEFT">
  						<Offset>
----------------------------------------
  			<ScrollFrame name="ChatAlertListScrollFrame" inherits="FauxScrollFrameTemplate">
  				<Size>
  					<AbsDimension x="260" y="270"/>
+
  				</Size>
  				<Anchors>
  					<Anchor point="TOPLEFT">
----------------------------------------
  					<Anchors>
  						<Anchor point="TOPLEFT">
  							<Offset>
+
  								<AbsDimension x="25" y="-80"/>
  							</Offset>
  						</Anchor>
----------------------------------------
  	</Frame>
  <</code>>

- Next is the acutal code changes, these are additions only really and as such i'm just going to show the new additions here (with added comments)
+ --Next is the acutal code changes, these are additions only really and as such i'm just going to show the new additions here (with added comments)
- LUA ADDITIONS:
+ --LUA ADDITIONS:
  <<code lua>>
  --New Global Varibles--
----------------------------------------
  			end
  <</code>>

- Thats pretty much all i've really done. Hope it helps :) Any questions/whatever just hollar at me.
+ --Thats pretty much all i've really done. Hope it helps :) Any questions/whatever just hollar at me.
Quickshot14 Tue, 21 Apr 2009 09:52:24 Changed description:
  				</Anchors>
  			</Button>
  			<Button name="ChatAlertListFrame6" inherits="ChatAlertListFrameTemplate" hidden="true" id="6">
+
+
----------------------------------------
  ChatAlert_SoundSettings["loot"] = 1;

  --Under ChatAlert_OnLoad()--
- 	this:RegisterEvent("CHAT_MSG_CHANNEL_NOTICE");
+ 	this:RegisterEvent("CHAT_MSG_SYSTEM");
  	this:RegisterEvent("CHAT_MSG_LOOT");
  --Under ChatAlert_Initialize()--
Quickshot14 Mon, 20 Apr 2009 09:24:26 Create

You must login to post a comment. Don't have an account? Register to get one!

  • 5 comments
  • Avatar of Quickshot14 Quickshot14 Wed, 22 Apr 2009 03:33:56

    Added fubar information (to top) and code.

  • Avatar of Quickshot14 Quickshot14 Wed, 22 Apr 2009 03:25:04

    Awsome i'll be sure to grab it, sure its not that much and its really easy to add into chatalert as is i'll post the info in this ticket for ease.

  • Avatar of Oggeli Oggeli Tue, 21 Apr 2009 16:21:12

    Okay, now... In version 1.9 i´ve implemented your changes with a little modification.

    Can you please give me your FuBar modifications? Then i´ll implement them also...

  • Avatar of Quickshot14 Quickshot14 Tue, 21 Apr 2009 09:48:16

    No prob its been working great for me, acutally thats fine, I use to use Titan as well but got hooked on fubar and been using it ever since lol I did copy and past one wrong line in the LUA portion i've edited the ticket to reflect the correct line (thou it should be somewhat obvious) my aplogies for that.

  • Avatar of Oggeli Oggeli Tue, 21 Apr 2009 08:01:15

    I´ll look at it soon!

    Thank´s a lot.

    P. S. I don´t use Fubar. I use Titan... So it will be a bit tricky for me to test. :D

  • 5 comments

Facts

Last updated on
22 Apr 2009
Reported on
20 Apr 2009
Status
New - Issue has not had initial review yet.
Type
Patch - Source code patch for review
Priority
Medium - Normal priority.

Reported by

Possible assignees