Thread Tools Display Modes
03-21-13, 04:22 PM   #1
tednik
An Aku'mai Servant
 
tednik's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 33
LF addon to monitor chat for world boss groups

I was looking for a add on that would monitor chat for keywords like galleon, sha, and the other world bosses im not sure if any exist or if not maybe someone would be interested in making one.
  Reply With Quote
03-21-13, 04:28 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Can't you just use ChatAlerts and tell it to alert you on those words?
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
03-21-13, 04:39 PM   #3
tednik
An Aku'mai Servant
 
tednik's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 33
i will try it but i was looking for something along the lines that pops a message in the middle of the screen i use elv_ui and not sure if it will work

ChatAlerts will not work it just monitors channels like guild party it will not monitor general zone chat
  Reply With Quote
03-21-13, 05:51 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Did you actually try it? There's nothing in the description that says it can't monitor numbered channels like General or Trade. You might be thinking of BrokerChatAlerts which is a totally separate addon.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
03-21-13, 06:54 PM   #5
tednik
An Aku'mai Servant
 
tednik's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 33
yes i did try it it only has check boxes and no way to enter in custom channels i uploaded a screenshot of its main option and yes i looked through them all it can only monitor preset channels that have been coded in to the addon
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_032113_204849.jpg
Views:	401
Size:	157.2 KB
ID:	7645  
  Reply With Quote
03-21-13, 06:55 PM   #6
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 583
Wouldn't boss speech show up as emote?
__________________
Tweets YouTube Website
  Reply With Quote
03-21-13, 08:56 PM   #7
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
He wants something that will alert him when someone talks in General chat saying Sha/Galleon/whatever is up.

Okay, ChatAlerts looks pretty useless then... why would you write a chat alert addon that can't actually monitor the channels that are hardest to monitor on your own?

Anyway, this will monitor numbered channels for messages containing "sha" or "galleon" and re-print those messages to the UIErrorsFrame. Should work unless ElvUI is breaking the UIErrorsFrame, though that wouldn't surprise me, since ElvUI seems to break everything and be imcompatible with everything and its author refuses to fix any and all compatibility issues.

Code:
local words = { -- MUST BE LOWERCASE
    "sha",
    "galleon",
}
ChatFrame_AddMessageEventFilter("CHAT_MSG_CHANNEL", function(_, _, message, _, _, _, _, _, channelID)
    if channelID == 0 or type(channelID) ~= "number" then return end -- ignore custom channels
    local lowermessage = strlower(message)
    for i = 1, #words do
        if strfind(lowermessage, words[i]) then
            UIErrorsFrame:AddMessage(message, 1, 0.75, 0.75)
        end
    end
end)
Use http://addon.ziuo.net/ to turn it into an addon if you don't know how.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
03-22-13, 12:31 AM   #8
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
Originally Posted by Phanx View Post
Okay, ChatAlerts looks pretty useless then... why would you write a chat alert addon that can't actually monitor the channels that are hardest to monitor on your own?
I have several channels all in their own tab. The default UI only flashes the whisper tab when it has activity. Pretty simple reasoning, I think.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
03-22-13, 11:48 AM   #9
tednik
An Aku'mai Servant
 
tednik's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 33
Originally Posted by Phanx View Post
He wants something that will alert him when someone talks in General chat saying Sha/Galleon/whatever is up.

Okay, ChatAlerts looks pretty useless then... why would you write a chat alert addon that can't actually monitor the channels that are hardest to monitor on your own?

Anyway, this will monitor numbered channels for messages containing "sha" or "galleon" and re-print those messages to the UIErrorsFrame. Should work unless ElvUI is breaking the UIErrorsFrame, though that wouldn't surprise me, since ElvUI seems to break everything and be imcompatible with everything and its author refuses to fix any and all compatibility issues.

Code:
local words = { -- MUST BE LOWERCASE
    "sha",
    "galleon",
}
ChatFrame_AddMessageEventFilter("CHAT_MSG_CHANNEL", function(_, _, message, _, _, _, _, _, channelID)
    if channelID == 0 or type(channelID) ~= "number" then return end -- ignore custom channels
    local lowermessage = strlower(message)
    for i = 1, #words do
        if strfind(lowermessage, words[i]) then
            UIErrorsFrame:AddMessage(message, 1, 0.75, 0.75)
        end
    end
end)
Use http://addon.ziuo.net/ to turn it into an addon if you don't know how.
Thank you very much for the code i will use it till i can find something or i can get someone to code something more to suit my needs

Originally Posted by Torhal View Post
I have several channels all in their own tab. The default UI only flashes the whisper tab when it has activity. Pretty simple reasoning, I think.
Maybe Torhal can add this option in to his ChatAlerts if i ask him nicely

Last edited by tednik : 03-22-13 at 11:50 AM. Reason: added
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » LF addon to monitor chat for world boss groups

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off