Thread Tools Display Modes
09-09-12, 11:34 AM   #1
azguz
A Murloc Raider
Join Date: Mar 2010
Posts: 8
Looking for Reminder Addon

I am playing a balance druid and I keep forgetting to transform into a moonkin. Is there an addon that will remind me to do this?
  Reply With Quote
09-09-12, 10:11 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
This will check for Moonkin Form when you enter combat, and display a warning message in the Raid Warning Frame if you're not in it.

Code:
local name, _, icon = GetSpellInfo(24858)
local message = format("Missing |T%s:20:20:-5|t %s!", icon, name)
local color = { r = 1, g = 1, b = 0 }

local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_REGEN_DISABLED")
f:SetScript("OnEvent", function(self, event)
	if GetSpecialization() == 1 and GetShapeshiftForm() ~= 5 then
		RaidNotice_AddMessage(RaidWarningFrame, message, color)
	end
end)
Use http://addon.ziuo.net/ to turn that into an addon if you're not sure 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
09-09-12, 10:33 PM   #3
azguz
A Murloc Raider
Join Date: Mar 2010
Posts: 8
Thank you for that.
  Reply With Quote
09-10-12, 04:05 AM   #4
Læe
A Murloc Raider
Join Date: Feb 2010
Posts: 5
Can you make one for a Fury/Arms Warrior so it would tell me if I'm in Defensive Stance when not in Protection spec? I thought they would turn off your stance when you switch spec like they do for Death Knights but they don't. I tried using TellMeWhen for it but can't seem to get it to work.
  Reply With Quote
09-10-12, 11:09 PM   #5
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Læe View Post
Can you make one for a Fury/Arms Warrior so it would tell me if I'm in Defensive Stance when not in Protection spec? I thought they would turn off your stance when you switch spec like they do for Death Knights but they don't. I tried using TellMeWhen for it but can't seem to get it to work.
Code:
local name, _, icon = GetSpellInfo(71)
local message = format("Get out of |T%s:20:20:-5|t %s!", icon, name)
local color = { r = 1, g = 1, b = 0 }

local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_REGEN_DISABLED")
f:SetScript("OnEvent", function(self, event)
	if GetSpecialization() ~= 3 and GetShapeshiftForm() == 2 then
		RaidNotice_AddMessage(RaidWarningFrame, message, color)
	end
end)
__________________
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
09-12-12, 09:32 AM   #6
Læe
A Murloc Raider
Join Date: Feb 2010
Posts: 5
Thanks Phanx, works like a charm, you the man.
  Reply With Quote
09-14-12, 10:22 PM   #7
Pallyfunjr
A Defias Bandit
Join Date: Sep 2012
Posts: 2
Or if you dont want to create your own addon, simply get PowerAuras - Classic which can make event based textures, texts and sounds, very useful addon :P.
-Pallyfunjr
  Reply With Quote
09-14-12, 11:24 PM   #8
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
@Pallyfunjr:

(1) The code I posted plus a minimal TOC file weigh in at a grand total of 511 bytes, and does exactly what the poster requested, with absolutely no setup other than clicking a single button to turn it into an addon. PowerAuras is an incredible 32.5 megabytes -- 3407872 bytes, or 6669 times the size of my mini-addon -- and requires wading through massively complicated options menus to set up a simple alert. There's really no comparison.

(2) Maybe you think you're being helpful, but so far your 3 posts on these forums have been (a) necroing years-old threads for no reason, or (b) posting links to addons that are only marginally related to the thread topic. Please don't necro ancient threads, please don't use other people's threads to advertise your favorite addons, and please don't post unless you have relevant and new information to add to a thread.
__________________
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.

Last edited by Phanx : 09-14-12 at 11:31 PM.
  Reply With Quote
09-15-12, 12:17 PM   #9
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Maybe the OP will find they want alerts for other things in the future. No need to jump down someone's throat about a suggested alternative. Site decorum applies to everyone here.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
09-15-12, 01:04 PM   #10
MidgetMage55
Grinch!
 
MidgetMage55's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,498
My real question here is why did Pally link to curse when its also available on WoWi as well? Same versions from what I can tell.
__________________

I think Hong Kong Phooey was a ninja AND a pirate. That was just too much awesome. - Yhor
  Reply With Quote
09-16-12, 12:35 AM   #11
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Seerah View Post
No need to jump down someone's throat about a suggested alternative.
Originally Posted by MidgetMage55 View Post
My real question here is why did Pally link to curse ...
Look at his post history. He's an obvious shill/troll who just bumps other people's threads with links to random addons on Curse, including one thread from 2+ years ago (though that post got deleted), and no actual information.
__________________
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
09-16-12, 01:02 AM   #12
Maggz
A Cyclonian
 
Maggz's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 45
phanx wrote a code for someone who specifically asked for them to, while pally posted something entirely different. Least thats what im getting out of this. Either way the poster asking for help got thier help so its all good. As for them linking a soon to be out of date addon........ well seems trollish to me.
__________________
Maggz Turalyon-US
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Looking for Reminder Addon

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