Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(21 Kb)
Download
Updated: 10-15-10 10:52 PM
Pictures
File Info
Updated:10-15-10 10:52 PM
Created:03-28-10 06:49 AM
Downloads:3,244
Favorites:31
MD5:
Megaphone
Version: 2.3.4
by: yamantaka [More]
Megaphone 2.3.0

What are the most popular phrases in WoW? The ones that every raid leader screams over and over again? (nope, it's not "More DoTs!") It's got to be "Big heals on tank!" or "Don't Stand in the Fire!" or "All DPS on Boss!". Originally Megaphone collected together 14 of the most popular raid leader phrases into one easy to use addon. With the current release of Megaphone you can create your own buttons and messages, use multiple chat channels, use dynamic variables, insert hyperlinks and bind a button to a keystroke! Megaphone is more powerful and customizable than ever!

Take heart mighty raid leaders! No more screaming, no more typos, no more missed heals because some PUG needs a clue. With Megaphone you set up your favorite phrases and click away. The heat of battle you lose valuable time typing hints and tips!

The Button Palette and Button Editor

The Megaphone button palette contains 3 pages of buttons. You can edit all the buttons, add more buttons, or delete them by unchecking the "Locked" checkbox at the top of the button palette. When the button palette is unlocked you click a button to bring up the button editor. Each button has a label, up to 4 lines of message text, and up to six target chat channels.

The Closebox

To hide the button palette click the close box on the top-right. If the mini map button is visible you can show or hide the button palette by clicking it.

The Arrow Buttons

You change button palette pages by click the arrow buttons on the bottom-left and right.

The Preferences Editor

To change the appearance and behavior of Megaphone use the Preferences Editor by clicking on the Megaphone icon at the top-left of the button palette. You can change the transparency and size of the button palette with the sliders. You can show or hide the mini map button, enable the ability to edit more than one button at a time, automatically hide the button palette when not in a group, and if you've made a mess of things, restore the default data.

Slash Commands

If you are and old school leet haxor you can use the following slash commands:

/megaphone (or /meph) show, hide, version, reset, prefs

Defaut Buttons

By default Megaphone comes with following buttons that demo all of its capabilities...

Page 1, Raiding buttons:

"Move","Don't stand in the fire! Move it!"
"Adds","All DPS on Adds! ASAP!"
"Pop","Pop Trinkets! Use Cool Downs! %%lust%%"
"Boss","All DPS on Boss! Burn Baby Burn!"
"Big Heals","Big heals on Tank! Gulp!"
"Mana","Hold up! Mana low! Drinking! Hic!"
"Kill Order","Kill order: Skull, X, Square, Diamond. Sheep Moon!"
"Pulling","Pulling! Prepare to Fire! HOORA!"
"Taunt","Taunt Boss off me! Ouch!"
"Stop!","Stop Attacking! Don't AOE!"
"Buffs","Get over here! Buff up! Eat Food, Flasks, Potions! Burp!"
"Ready","Everyone is ready! Go Tank Go!"
"Wipe","It's a wipe! Stop healing! Game Over Man!"
"Loot","Loot Rules: Roll Main Spec, Off Spec, DE. No Ninja!"

Note the macroword %%lust%% used in the the 3rd button. When you press a button containing this macroword it gets replaced with "Blood Lust" if you are Horde or "Heroism" if you are Alliance. This is great example of a dynamic variable. One button for a spell that has a faction dependent name.

Page 2, Looking For More/Group buttons:

"LFM ICC","LFM ICC 10 Fresh Run","Need Tanks, Heals, DPS pst w/GS"
"LFM TOC","LFM TOC 10 Fresh Run","Need Tanks, Heals, DPS pst w/GS"
"LFM Ony","LFM Ony 10 Fresh Run","Need Tanks, Heals, DPS pst w/GS"
"LFM VOA","LFM VOA 10 Fresh Run","Need Tanks, Heals, DPS pst w/GS"
"LFM OS","LFM OS 10 Fresh Run","Need Tanks, Heals, DPS pst w/GS"
"LFM Nax","LFM Naxx 10 Fresh Run","Need Tanks, Heals, DPS pst w/GS"
"LFM Uld","LFM Ulduar 10 Fresh Run","Need Tanks, Heals, DPS pst w/GS"
"LFM Mal","LFM Maly 10 Fresh Run","Need Tanks, Heals, DPS pst w/GS"
"LFG Q","DPS LFG","%%selectedquest%%"

These buttons will help you find players in trade and LFG chat to fill out your PUGs! And we have another macroword used in the last button: "%%selectedquest%%"! If you have a quest selected in your quest log this macroword gets replaced with the link for that quest! Before to select the quest first, then press the button. (You can close your quest log after you select a quest.)

Page 3, Macroword Demo Buttons

"Where","I'm standing in %%subzone%%"
"Time","The server time is %%time%%"
"Haste","Pop %%lust%% now!"
"Health","My health is at %%health%%"
"Power","My %%powertype%% is at %%power%%"
"Target","My target's health is at %%targethealth%%"
"Focus","My focus' health is at %%focushealth%%"
"Mouse","%%mousename%% has %%mousehealth%% and %%mousepower%% %%mousepowertype%%"

All 13 Macrowords are demonstrated by these buttons. A macroword is enclosed in %%'s at the beginning and the end. When you click a Megaphone button containing a macroword the entire string of characters is replaced with a dynamic value such as the name of the zone your character is in or the health percentage of your focus.

For example the button labeled "Mouse" displays the name, health, and power (mana, rage, etc) of the player or NPC under your mouse. This button is not useful unless you bind it to a key!

Macroword defintions:

%%subzone%% -- returns the subzone a player is in
%%time%% -- returns the realm current time
%%lust%% -- returns "Blood Lust" if horde or "Heroism" if alliance
%%health%% -- returns the % health of the player
%%power%% -- returns the % mana/rage/focus/energy/runic power of the current player
%%powertype%% -- returns the power type (mana, rage, focus, energy, runic power) of the player
%%targethealth%% -- returns the % health of the player's target
%%focushealth%% -- returns the % health of the player's target
%%mousename%% -- returns the name of the unit the player's mouse is over
%%mousehealth%% -- returns the % health of the unit the player's mouse is over
%%mousepowertype%% -- returns the power type of the unit the player's mouse is over
%%mousepower%% -- returns the % power of the unit the player's mouse is over
%%selectedquest%% -- returns the name of the currently selected quest in the quest log


Inserting Hyperlinks into Megaphone Button Messages

If you want to create a button to link a specific item, spell, talent, or quest into a chat channel it's easy to do.

1. Open the Button Editor for a button
2. Click in the message field where you want the link to appear. (Lines 1, 2, 3, or 4.)
3. Open your character frame, bags, quest log, spell book, or talent frame and shift click the icon of the object you want to link to. (For quests you can just click--the shift is optional.)
4. The link for the item will appear in the selected message field
5. Save the button.
6. Now when you click the button your link will appear in your chat channel of choice.
7. You can shift click just about any icon in WoW to get a link except for Achievements (I'm still working on them).

BTW, hyperlinks need to be refreshed if your skill level changes for a profession or you learn new recipes.

Key Binding

You can bind a key stroke to each button or to show/hide the button palette itself. Just use the standard WoW Key Bindings UI. It's in the options menu that pops up when you press esc or click on the Game Menu icon. Look for the section in the Key Bindings frame labeled "Megaphone Addon Keys". It should be near the end of the list. The same key bindings work for every page--Button 1 on Page 1 is the same as Button 1 on Pages 2 and 3.

Thanks for downloading and have fun with Megaphone!
2.3.4
Updated for patch 4.0.1
- Tested all features
- Incremented version number

2.3.3
Bug Fixes
- Minimap icon obeys preferences between logins
- LFG channel is no longer hard coded to the number 4 (Now it's the right number for your server!)


2.3.2
Whispers!

- Implemented the ability to whisper to your target or your target's target
- Laid the ground work for replying to whispers
- Laid the ground work for executing macros


2.3.1

Smaller, Prettier, and More Pages

- Implemented the ability to control the color of a button from the button editor
- Implemented smaller buttons with gradients and smaller labels
- Reduced the size of the button palette
- Added 2 more pages for a total of 5 on the button palette
- Added a Battle Rez button (that works with the mouse over macroword and a target's target button
- Added macrowords for my target's target:

"%%targettargetname%%", -- returns the name of the target's target
"%%targettargethealth%%", -- returns the % health of the target's target
"%%targettargetpower%%", -- returns the % power of the target's target
"%%targettargetpowertype%%", -- returns the power type of the target's target

2.3.0

* Implemented the standard key bindings UI so now you can trigger a button with a keystroke
* Implemented shift-clicking on icon so you can include hyperlinks in your messages
* Implemented macrowords for mousing and the selected quest
* Fixed some bugs

2.2.0

* Implemented "macro words". Now Megaphone messgages can contain dynamic data like the name of the zone where your character is or the health of your target. Eight macro words have been implemented so far.
** %%subzone%% -- returns the subzone a player is in
** %%time%% -- returns the realm current time
** %%lust%% -- returns "Blood Lust" if horde or "Heroism" if alliance
** %%health%% -- returns the % health of the player
** %%power%% -- returns the % mana/rage/energy of the current player
** %%powertype%% -- returns the power type (mana, rage, focus, energy, runic power) of the player
** %%targethealth%% -- returns the % health of the player's target
** %%focushealth%% -- returns the % health of the player's target
* To use a macro word just type it in to a message. Examples include:
** I'm standing in %%subzone%%
** The server time is %%time%%
** I'm down to %%power%% of my %%powertype%%
* When you click a button containing a macro word the word is replaced with information from the WoW client or server.
* Example buttons with macro words are now on the 3rd page on the button palette.
* Also I cleaned up my code so it is more readable and matches the Lua style guidelines.

2.1.3
* Party/Raid option is now Party/Raid/BG, if you are in a Battleground then raid messages are sent to /BG
* Fixed problem with button palette blinking when party members change and auto hide option is set
* Changed some wording on the prefs screen


2.1.2
* Click the blue Megaphone icon on the top left of the button palette to bring up the preferences editor (or type /meph prefs)
* Use the Alpha Level slider to set the transparency of the button palette
* Use the Frame Size slider to grow or shrink the size of the button palette (the button labels don't resize well--I have to work on small sizes)
* Click MiniMap button checkbox to show or hide the Megaphone button on the MiniMap
* Click the Edit Multiple Buttons checkbox to keep the button palette unlocked so you edit buttons more quickly
* Click the Hide Out of Group checkbox to automatically hide the button palette when you are not in a party or raid (you can always show it with the MiniMap button or /meph show)
* Click the Restore Default Data checkbox to wipe all your custom buttons and edits to the default buttons. This option restores Megaphone to its original state. Can't be undone!
* I also fixed a bug with saved variables--just a dumb coding mistake :)

2.1.1
* Messages now sent to multiple channels in the right order
* Thanks to Soleater for his testing help!


2.1.0
* Minimap button, click to show Megaphone if you've closed it
* use /meph hide to hide the minimap button if it's annoying you
* Megaphone now posts messages with up to 4 lines for each button
* Megaphone now let's you send your messages to guild, officer, trade, and LFG chat as well as party, raid and raid warning

2.0.0
Redesigned from the ground up!
- Three pages of buttons
- All buttons can be edited
- Customized buttons saved between sessions
- New slash command meph /reset restores Megaphone to its default state



1.1.0
Lots of new features and a fix!
- Smaller more compact size
- Colored buttons: Red, Blue, and Green
- Two additional buttons: Wipe and Loot Rules
- Fixed encoding so that windows users can read my code


1.0.1a
Fixed problems with the way I zipped up the files: Now Megaphone will actually load and there are no extraneous Mac OSX files included.

1.0.1
Fixed a bug with Frame strata: Now Megaphone displays properly when overlapping other addons and Blizzard UI widgits.
Optional Files (0)


Archived Files (14)
File Name
Version
Size
Author
Date
2.3.3
21kB
yamantaka
05-29-10 04:26 PM
2.3.2
21kB
yamantaka
05-22-10 07:05 PM
2.3.1
20kB
yamantaka
05-15-10 09:27 PM
2.3.0
19kB
yamantaka
05-07-10 08:22 PM
2.2.0
18kB
yamantaka
04-30-10 09:02 PM
2.1.3
17kB
yamantaka
04-25-10 12:07 PM
2.1.2
17kB
yamantaka
04-24-10 10:20 AM
2.1.1
15kB
yamantaka
04-19-10 06:59 AM
2.1.0
15kB
yamantaka
04-17-10 05:36 PM
2.0.0
12kB
yamantaka
04-10-10 04:37 PM
1.1.0
11kB
yamantaka
04-03-10 08:22 PM
1.0.1a
4kB
yamantaka
04-02-10 07:01 AM
1.0.1
5kB
yamantaka
03-29-10 06:06 PM
1.0
5kB
yamantaka
03-28-10 06:49 AM


Post A Reply Comment Options
Unread 05-10-10, 10:25 AM  
yamantaka
A Kobold Labourer
 
yamantaka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Re: Some improvements

Originally posted by Swal
Hi! I like your addon, keep up the work, but I would like to note some thing.
  1. Please, make the window hidden on default, it is a bit annoying to see it every time I log in, or at least make it possible to choose that as default setting.
  2. Make it possible to have more than 3 page
  3. Please dont reset the "locked" to "on" every time I save a button, Keep it unlocked untill I decide to lock it again.
You can use the prefs to set the button palette to be hidden unless you are in an instance. That should help. I can add a hide by default setting as well.

You can change the behavior of the locked checkbox in prefs. If you check "edit multiple buttons" it will do what you want.

Prefs are accessed by clicking the megaphone icon on the top left of the button palette or my typing /meph prefs in chat.

I'm going to add more pages in the very near future
Thanks!
yamantaka is offline Report comment to moderator  
Reply With Quote
Unread 05-09-10, 06:03 AM  
Swal
A Kobold Labourer

Forum posts: 0
File comments: 34
Uploads: 0
Some improvements

Hi! I like your addon, keep up the work, but I would like to note some thing.
  1. Please, make the window hidden on default, it is a bit annoying to see it every time I log in, or at least make it possible to choose that as default setting.
  2. Make it possible to have more than 3 page
  3. Please dont reset the "locked" to "on" every time I save a button, Keep it unlocked untill I decide to lock it again.


Swal is offline Report comment to moderator  
Reply With Quote
Unread 05-05-10, 05:37 PM  
yamantaka
A Kobold Labourer
 
yamantaka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Originally posted by nobgul
Ok I cannot figure out how to edit the buttons 0_o could someone help me out. Ok so clicking everything possible worked out lol.

For those of us with adhd you check the locked box and click a button to edit it =P
i should make that easier! I have ADHD too
yamantaka is offline Report comment to moderator  
Reply With Quote
Unread 05-04-10, 11:11 AM  
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 693
File comments: 66
Uploads: 8
Ok I cannot figure out how to edit the buttons 0_o could someone help me out. Ok so clicking everything possible worked out lol.

For those of us with adhd you check the locked box and click a button to edit it =P
Last edited by Nobgul : 05-04-10 at 11:12 AM.
Nobgul is offline Report comment to moderator  
Reply With Quote
Unread 04-28-10, 09:58 AM  
yamantaka
A Kobold Labourer
 
yamantaka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Originally posted by yamantaka
Thanks for alerting me to this.
Are you running on a Mac or PC?
Any hints as to what makes the error appear? Or is it all the time?
Try typing "/meph reset" in chat and see if that makes the error go away.
I'll talk to my guild and see if other players are seeing similar problems!
Thanks again!
Yeah, looking at the error message closer, it looks like the value for scaling the UI is missing. Resetting back the default data should clear it up (/meph reset) but you'll lose any custom messages. Sorry about this. I'll continue to look into it.
yamantaka is offline Report comment to moderator  
Reply With Quote
Unread 04-28-10, 09:55 AM  
yamantaka
A Kobold Labourer
 
yamantaka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Originally posted by Kastorz
lots of errors till last two versions (since 2.1.2 included)

["message"] = "Interface\\AddOns\\Megaphone\\Megaphone.lua:845: attempt to perform arithmetic on field 'Zoom' (a nil value)",

["stack"] = "[C]: ?\nInterface\\AddOns\\Megaphone\\Megaphone.lua:845: in function `Megaphone_UpdatePaletteAppearance'\nInterface\\AddOns\\Megaphone\\Megaphone.lua:304: in function <Interface\\AddOns\\Megaphone\\Megaphone.lua:298>\n
Thanks for alerting me to this.
Are you running on a Mac or PC?
Any hints as to what makes the error appear? Or is it all the time?
Try typing "/meph reset" in chat and see if that makes the error go away.
I'll talk to my guild and see if other players are seeing similar problems!
Thanks again!
yamantaka is offline Report comment to moderator  
Reply With Quote
Unread 04-27-10, 02:16 PM  
Kastorz
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
lots of errors till last two versions (since 2.1.2 included)

["message"] = "Interface\\AddOns\\Megaphone\\Megaphone.lua:845: attempt to perform arithmetic on field 'Zoom' (a nil value)",

["stack"] = "[C]: ?\nInterface\\AddOns\\Megaphone\\Megaphone.lua:845: in function `Megaphone_UpdatePaletteAppearance'\nInterface\\AddOns\\Megaphone\\Megaphone.lua:304: in function <Interface\\AddOns\\Megaphone\\Megaphone.lua:298>\n
Kastorz is offline Report comment to moderator  
Reply With Quote
Unread 04-20-10, 04:59 PM  
yamantaka
A Kobold Labourer
 
yamantaka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Originally posted by MidgetMage55
Might i suggest that if the purpose of the addon is to assist with a raid and certainly not targeted at spammers you might want to limit the channels they can post in to raid, raid warning, group and so on. Perhaps even having it disable or lock itself if your are not raid lead or assist.

While it may not be able to do as much as a macro never hurts to discourage its use in a negative fashion.
I'm definitely not interested in any spamming use case. I only added trade and LFG channels after it was requested and I found I was using it to to find pugs for raids. (Once Blizzard allows cross-server raid groups it won't be so hard to compete for tanks and healers.)

I've also found that non-raid leaders need to communicate to the rest of the raid just like they can do normally. My addon doesn't let you do more than the blizzard UI allows. In fact if you start sending messages too quickly wow throttles your messages.

All-in-all when I'm using the addon with my guild and pugs it doesn't seem to be contributing to the spam problem.

But thanks for your comments.
yamantaka is offline Report comment to moderator  
Reply With Quote
Unread 04-19-10, 09:34 PM  
MidgetMage55
Grinch!
 
MidgetMage55's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1498
File comments: 66
Uploads: 2
Might i suggest that if the purpose of the addon is to assist with a raid and certainly not targeted at spammers you might want to limit the channels they can post in to raid, raid warning, group and so on. Perhaps even having it disable or lock itself if your are not raid lead or assist.

While it may not be able to do as much as a macro never hurts to discourage its use in a negative fashion.
__________________

I think Hong Kong Phooey was a ninja AND a pirate. That was just too much awesome. - Yhor
MidgetMage55 is offline Report comment to moderator  
Reply With Quote
Unread 04-19-10, 05:51 PM  
yamantaka
A Kobold Labourer
 
yamantaka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Originally posted by GOSYDELIX
Hey dude, nice going with the addon
i got some new idéas / features for you.
  • Lock/Unlock the whole frame
  • Alpha on the full screen
  • Ability to show the frame only in raids or heroic instance
Some great ideas here. I'll have to create a preference window to manage these options.
Thanks!
yamantaka is offline Report comment to moderator  
Reply With Quote
Unread 04-19-10, 05:50 PM  
yamantaka
A Kobold Labourer
 
yamantaka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Re: /facepalm

Originally posted by Detvarjannik
How does
Relate to the Screenshot?
IMO this seems like an AddOn that assist spammers with their multiline LFG and LFM crap in trade..
You bring up some good a good point. I don't want to do anything to add to the spam in trade chat. I'm following what people have asked for and I think their needs are legit. If you're a spammer my addon doesn't really do as much as a macro.

My guild is using Megaphone in raids and heroic instances. Last night I was using it on ICC 10 to make sure dps knew when to hit the adds or the boss.
yamantaka is offline Report comment to moderator  
Reply With Quote
Unread 04-19-10, 01:56 PM  
GOSYDELIX
A Flamescale Wyrmkin
 
GOSYDELIX's Avatar

Forum posts: 112
File comments: 58
Uploads: 0
Hey dude, nice going with the addon
i got some new idéas / features for you.
  • Lock/Unlock the whole frame
  • Alpha on the full screen
  • Ability to show the frame only in raids or heroic instance
__________________
GOSYDELIX is offline Report comment to moderator  
Reply With Quote
Unread 04-19-10, 08:44 AM  
Detvarjannik
A Murloc Raider

Forum posts: 9
File comments: 18
Uploads: 0
/facepalm

How does
In today's world o' PUGs not everyone is in Vent. Sometimes a raid warning is the best way to cut through the clutter."
Relate to the Screenshot?
IMO this seems like an AddOn that assist spammers with their multiline LFG and LFM crap in trade..
Detvarjannik is offline Report comment to moderator  
Reply With Quote
Unread 04-18-10, 03:56 PM  
yamantaka
A Kobold Labourer
 
yamantaka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Originally posted by aquilinx
how about macros

id love to bind something like this to one of the buttons

/rw inc
/in 1 /rw 3
/in 2 /rw 2
/in 3 /rw 1
/in 4 /rw pulling
It would be ez to do but there a lot of addons that do this kind of thing already. Have you tried using bartender and wow's built in macro editor? I could add a checkbutton for non-chat. Then any macro would work. I'll think about it
yamantaka is offline Report comment to moderator  
Reply With Quote
Unread 04-18-10, 03:42 PM  
yamantaka
A Kobold Labourer
 
yamantaka's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 14
Uploads: 1
Originally posted by troguspompeius
Love the 2.1.0 update.

It would be nice, if one could also choose a self defined chat channel.
That would be ez to add. I'll look into it.
Thanks for suggestion!
yamantaka is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: