 |
05/05/09, 6:06 AM
|
#616
|
|
Von Kaiser
|
Originally Posted by Darkorical
is there a way to change what chat channel a macro goes to based on current situation
I have
/cast Life Tap
Tap! Tap! Tap!
|
In addition to the macro that Sarf has suggested above, you can use an add-on called BattleCry (look for the fan update on wowinterface.) I prefer using the addon over macros because if you're the button-mashing type of player (or use AHK) then you'll end up spamming chat with that macro. You can set up BattleCry to only announce once the spell starts casting or completes. And you can also add a cooldown to the announcement and change its frequency (50% of the time for instance.)
If you set it to announce to the raid channel, it will automatically announce to group if you aren't in a raid, and to /say if you aren't grouped.
There are ways to add a cooldown to announcement macros, but it's a long script and doesn't always fit if your macro is complicated.
|
|
|
|
|
05/07/09, 7:53 PM
|
#617
|
|
Glass Joe
|
First thank you very much for the info it works great.
Now I have a new question. I used to play Guild Wars and in it I could click my health bar and it would announce to my group "My health is 500 of 2000" same with my mana. Also I by shift clicking a mob and I'd call out "I'm targeting X!" Currently I can make a macro that I click and it does the same with I'm targeting %t! but I cant seem to find a way to call out my health or mana.
anyone have a suggestion on how to make this work?
|
|
|
|
|
05/08/09, 3:19 AM
|
#618
|
|
Glass Joe
Orc Hunter
Bloodscalp (EU)
|
Originally Posted by Darkorical
I cant seem to find a way to call out my health or mana.
anyone have a suggestion on how to make this work?
|
Why would you want to annoy people (especially healers) by announcing your health? They have raidframes etc. where they can see your healthbar. A calling out health macro would be much slower than that. If they don´t heal you when you are low, they are either just bad at their job or have better things to do at the moment (like healing the MT).
|
|
|
|
|
05/08/09, 9:14 PM
|
#619
|
|
Glass Joe
|
Originally Posted by Bettyboo
Why would you want to annoy people (especially healers) by announcing your health? They have raidframes etc. where they can see your healthbar. A calling out health macro would be much slower than that. If they don´t heal you when you are low, they are either just bad at their job or have better things to do at the moment (like healing the MT).
|
1. Not all healers have Raid frames (some just use the above head bars) So a quick call out can't hurt anything.
2. Its not always the healers who I'm interested in telling. So its not always a request for healing
3. I'm sure I'm not the only person who has ever pugged an instance and had the tank contentiously run headlong into the next battle not paying attention to weather or not anyone has mana. Having a one click announce of my mana/hp would be a quick and easy way to telling him to slow down.
4. Sometimes I'm the healer and want a quick way to tell the other healers I'm about out of mana.
5. Locks have a habit of scaring healers by Life Tapping and not telling the healer so the healer doesn't know weather hes tapping or getting pummeled by a loose mob. I quick tap on a mana announce addon would tell them quick and easy "I'm fine just trading hp for mp".
6. My reasons both previously stated and yet unstated are my own I posted a request for help and info for those reasons, not to have my reasoning and motivation questioned.
|
|
|
|
|
05/08/09, 10:56 PM
|
#620
|
|
Glass Joe
|
WOOT! I got it on my own by peicing commands together from unit frames mods and other macros.
It sends your current health vs max health to either raid or party depending on what kind of group you are in."My health is 17586 of 18596!"
If you are dead it says "I'm Dead!"
**This is 257 charactors so it wont work in normal macro without a slight revision. if you don't have a macro extender mod you will need to change s="My Health is " to s="My HP is "
/run h=UnitHealth('player') t=UnitHealthMax('player') if UnitHealth('player') >0 then s="My health is "..h.." of "..t.."!" else s="I'm Dead!"end if GetNumRaidMembers() > 0 then c="RAID" elseif GetNumPartyMembers() > 0 then c="PARTY"end SendChatMessage(s, c)
here is the mana version This also works for rage energy and runic power
/run h=UnitPower('player') t=UnitPowerMax('player') if UnitPower('player') >0 then s="My Mana is "..h.." of "..t.."!" else s="I'm OOM!"end if GetNumRaidMembers() > 0 then c="RAID" elseif GetNumPartyMembers() > 0 then c="PARTY"end SendChatMessage(s, c)
Last edited by Darkorical : 05/08/09 at 11:28 PM.
|
|
|
|
|
05/09/09, 9:53 AM
|
#621
|
|
Von Kaiser
Blood Elf Death Knight
Wildhammer (EU)
|
Hi, i'm Death Knight Tank, and recently i switchet in blood. I've picked up Hysteria, because it's great dmg burst for raid, but i'm wondering how can i cast it based on priority with a macro.
Lets say i'm running 10ppl Ulduar with my group, and we have unholy DK, enh Shaman, and fury warrior. I want to cast Hysteria on warrior, but if he is not in raid i want to use it on dk, and again, if he also is absent i want to boost shaman with hysteria.
so... will such macro work?
/cast [target=<nickWar>, target=<nickDK>, target=<nickSham>] Hysteria
Thanks in advance
|
|
|
|
|
05/11/09, 1:02 AM
|
#622
|
|
Glass Joe
|
In an attempt to make some quick cash, my current professions are herbalism and mining. I just continuously switch between the two types of tracking when moving through a zone. Is there a way I could toggle between the two using just one key, rather than having to use two keys?
|
|
|
|
|
05/11/09, 4:38 AM
|
#623
|
|
Glass Joe
Troll Hunter
Daggerspine (EU)
|
Originally Posted by Shig27
In an attempt to make some quick cash, my current professions are herbalism and mining. I just continuously switch between the two types of tracking when moving through a zone. Is there a way I could toggle between the two using just one key, rather than having to use two keys?
|
#showtooltip
/castsequence Find Minerals, Find Herbs
|
Lokk
|
|
|
05/11/09, 6:56 AM
|
#624
|
|
Piston Honda
Gnome Rogue
Agamaggan (EU)
|
Originally Posted by czokalapik
Hi, i'm Death Knight Tank, and recently i switchet in blood. I've picked up Hysteria, because it's great dmg burst for raid, but i'm wondering how can i cast it based on priority with a macro.
Lets say i'm running 10ppl Ulduar with my group, and we have unholy DK, enh Shaman, and fury warrior. I want to cast Hysteria on warrior, but if he is not in raid i want to use it on dk, and again, if he also is absent i want to boost shaman with hysteria.
so... will such macro work?
/cast [target=<nickWar>, target=<nickDK>, target=<nickSham>] Hysteria
Thanks in advance
|
Try the following:
/cast [target=name1,exists,nodead] Hysteria; [target=name2,exists,nodead] Hysteria; [target=player] Hysteria
|
"...gone missing."
|
|
|
05/25/09, 11:05 AM
|
#625
|
|
Von Kaiser
Gnome Death Knight
Stormscale (EU)
|
Whenever you meet a priest or a shaman in arena, the first thing they do is usually dispelling all your buffs, would it be possible to make a macro that rebuffs for example Blessing of Kings on myself and my partner with a couple of clicks if the buff is missing, and if i already have the buff, the macro does nothing?
Since BoK actually costs less mana than dispel magic it might work out in our favor.
|
|
|
|
|
05/25/09, 1:53 PM
|
#626
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Not possible.
|
|
|
|
|
06/10/09, 10:40 AM
|
#627
|
|
Von Kaiser
Draenei Shaman
Argent Dawn
|
I'd like to make a macro that casts a healing spell on my target (if friendly), then my focus (if friendly), and then finally myself if I do not have a friendly target or focus. Is this possible? I've been playing with the noharm tags but I can't get reliable behavior.
|
|
|
|
|
06/10/09, 11:16 AM
|
#628
|
|
Glass Joe
Draenei Priest
Doomhammer (EU)
|
Originally Posted by phasedweasel
I'd like to make a macro that casts a healing spell on my target (if friendly), then my focus (if friendly), and then finally myself if I do not have a friendly target or focus.
|
/cast [help] [target=focus,help] [target=player] heal
|
|
|
|
|
06/12/09, 1:52 PM
|
#629
|
|
Piston Honda
Goblin Priest
Mannoroth (EU)
|
Originally Posted by sarf
#showtooltip Hysteria
/run u="target" S="Hysteria" s,l,e=GetSpellCooldown(S) if s+l == 0 and UnitExists(u) and HasFullControl() then SendChatMessage(S.." given, go crazy!","WHISPER",nil,UnitName(u)) end
/cast Hysteria
|
I absolutely love this macro and adapted it for my use as a disc priest with Power Infusion (kinda annoying if you whisper someone "you have PI" and he pops cds but you didn't give it to him >.<) but I dont get it to work for my divine hymn like I want it to...
#showtooltip Divine Hymn
/cast Inner Focus
/cast Divine Hymn
/run S="Divine Hymn" s,l,e=GetSpellCooldown(S) if s+l == 0 and HasFullControl() then SendChatMessage(S.." läuft!!!","CHANNEL",nil,5) end
Divine Hymn has no target so I just deleted this part, but he won't announce it in our guilds healer channel (which is channel 5)... I didn't understand wowwikis description of the SendChatMessage API 100% so I need a little help here^^
Also what are the variables l and e for? Could one save a few characters there?
Edit: Sorry for the capital letters, corrected it 
Last edited by Hamsda : 06/12/09 at 10:22 PM.
|
|
|
|
|
06/12/09, 10:05 PM
|
#630
|
|
Don Flamenco
|
Originally Posted by Hamsda
also what are the variables l and e for? could one save a few characters there?
|
GetSpellCooldown() returns three values - when the cooldown started, the remaining duration, and whether the spell is currently active and thus cooldown hasn't started yet - see API GetSpellCooldown - WoWWiki - Your guide to the World of Warcraft
As I understand the syntax, you need to accept all three values returned even if you don't care about all of them.
Originally Posted by Hamsda
divine hymn has no target so i just deleted this part, but he won't announce it in our guilds healer channel (which is channel 5)... i didn't understand wowwikis description of the sendchatmessage api 100% so i need a little help here^^
|
If you just do the SendChatMessage() without the "if.." does it work?
I notice that in your Hysteria macro it is doing the whisper before casting the spell whilst in your Divine Hymn you're casting first - maybe the problem is that by the time it gets to the GetSpellCooldown() check, the spell is on cooldown because you just cast it?
|
|
|
|
|
|