WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Looking for Reminder Addon (https://www.wowinterface.com/forums/showthread.php?t=44245)

azguz 09-09-12 11:34 AM

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?

Phanx 09-09-12 10:11 PM

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.

azguz 09-09-12 10:33 PM

Thank you for that.

Læe 09-10-12 04:05 AM

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.

Phanx 09-10-12 11:09 PM

Quote:

Originally Posted by Læe (Post 263109)
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)


Læe 09-12-12 09:32 AM

Thanks Phanx, works like a charm, you the man.

Pallyfunjr 09-14-12 10:22 PM

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

Phanx 09-14-12 11:24 PM

@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.

Seerah 09-15-12 12:17 PM

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. ;)

MidgetMage55 09-15-12 01:04 PM

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. :rolleyes:

Phanx 09-16-12 12:35 AM

Quote:

Originally Posted by Seerah (Post 264134)
No need to jump down someone's throat about a suggested alternative.

Quote:

Originally Posted by MidgetMage55 (Post 264137)
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.

Maggz 09-16-12 01:02 AM

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.


All times are GMT -6. The time now is 05:25 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI