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

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


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