I currently use vudo for healing, im looking for a macro that will allow me to use purify spirit on right mouse click one and then cast HW or GHW , CH on next right mouse click is this possible ?
I currently use vudo for healing, im looking for a macro that will allow me to use purify spirit on right mouse click one and then cast HW or GHW , CH on next right mouse click is this possible ?
Hi everyone, I am wondering if anyone would be able to help me modify a simple macro I have:
/startattack
/cast Frost Strike
This macro is good because even when I am out of runic power, I can still press it and I will automatically target and start autoattacking the nearest enemy. However...
The problem I have is that sometimes with all the mad target clicking I do during dungeons or raid trash/fights with adds, I end up clicking on and targeting an already dead enemy, and then pressing this macro does not target and start autoattacking the nearest enemy because I am stuck on the dead target. The macro does not auto clear the dead target.
So my question then... Is there a way to modify this macro such that it will clear my target if it is dead, or perhaps simply retarget the nearest living enemy?
Thank you!
Edit: actually nevermind, didn't really do what you wanted. I'll look into it
Edit2:
Clears the target if your current target is dead, starts autoattacking the closest target next to you and casts frost strike. Think this is what you wanted.Code:/cleartarget [@target, dead] /startattack /cast Frost Strike
Last edited by eyrie; 2013-03-16 at 12:44 AM.
Hi, I need a ghoul stun macro for my DK, problem is it has to include leap like:
/cast !Leap
/cast !Gnaw
but also need to have a chooseable modifier for current target or focus target with shift.
Thnx
But soon after Mr Xi secured a third term, Apple released a new version of the feature in China, limiting its scope. Now Chinese users of iPhones and other Apple devices are restricted to a 10-minute window when receiving files from people who are not listed as a contact. After 10 minutes, users can only receive files from contacts.
Apple did not explain why the update was first introduced in China, but over the years, the tech giant has been criticised for appeasing Beijing.
Having a problem with a macro wonder if anyone can help, using the "#showtooltip [modifier:shift] Smite; Power Word: Shield" macro for my new priest as it is going to be a disc priest, problem I have is that after the macro is set up I press and hold shift then press 1 (the bar number I've got the ability on) and nothing happens, the ability lights up when I hit the button but nothing else, am I missing something here like a newb or can I not do this and I'm a newb?
Edit: I've changed the macro to
#showtooltip
/cast [mod:Shift] [harm] Smite ; Power Word: Shield
which kinda does the job and I can get used to it, but what I would like to know now is if I'm casting smite and I see someone needs a heal is there anything to this I can add were I can stop casting smite without moving, click on my healing target then click the button again to cast PW:S?
Last edited by dejec1989; 2013-03-17 at 02:15 AM.
PS: For your first macro, you would've wanted to check whether shift+1 was bound to anything else.Code:#showtooltip /stopcasting [noharm] /cast [harm]Smite; Power Word: Shield
Looking to get syntax help (and macro command names obviously)
I don't know how to set variables, or how to use them (like in the whisper and set raid icon commands, i am SURE the syntax will be wrong)
So i wrote what i want to do in pseudo code instead of trying to explain in words.
pre set up - that i hard code the names (probably in a different macro)
set p1 = "bob"
set p2 = "jim"
set p3 = "jake"
set p4 = "tim"
set p5 = "dave"
set p6 = "joe"
set i = 1
second macro that uses values set in first. that i can just hit this 1 button every time the event happens that i want ppl to react to.
if (i == 1){
/rw [p1] and [p2] take next w/e
/run SetRaidTarget("p1", 1)
/run SetRaidTarget("p2", 2)
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p1"))
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p2"))
i = i+1
}
if (i == 2) {
/rw [p3] and [p4] take next w/e
/run SetRaidTarget("p3", 1)
/run SetRaidTarget("p4", 2)
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p3"))
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p4"))
i = i+1
}
if (i == 3){
/rw [p5] and [p6] take next w/e
/run SetRaidTarget("p5", 1)
/run SetRaidTarget("p6", 2)
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p5"))
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p6"))
i = 1
}
--
for future expending of this macro, can i do math like: (and most importantly, what is syntax for div/mod)
if ((i mod 7)==1 ) do...
Thanks.
You almost nailed it, but it'll be too long to put in a macro due to the 255 character limit. Put them into an addon like this:
And then macro the defined slash command ("/takenext").Code:local p = { "bob", "jim", "jake", "tim", "dave", "joe", } local m = math.floor(p/2) local c = 0 SlashCmdList["TAKENEXT"] = function() c = (c%m)+1 local o = (c*2) local t1,t2 = p[o-1],p[o] SendChatMessage(("%s and %s take next"):format(t1,t2)) SetRaidTarget(t1,1) SetRaidTarget(t2,2) SendChatMessage("Your turn!","WHISPER",nil,t1) SendChatMessage("Your turn!","WHISPER",nil,t2) end SLASH_TAKENEXT1 = "/takenext"
how does it know that t1 , t2 are variables?
and the first chat is a /rw ? where is that specified?
why is it TAKENEXT1 ? and not TAKENEXT
um, what i don't like about this solution is that i don't see a way to reset this in the middle (if something goes wrong and i want to start over, or after a wipe.)
also, where would i be putting the names.. in a file? can i edit it while game is running?
advantage of having a macro instead is that i can just open /m and see who is in my group and do more dynamic sorting of groups ect.
going over the 255 char limit isn't an issue... as this can very easily be split with macro calling next part of next macro. ( /click MultiBarRightButton1)
.... this is making me think about writing an addon ... might be a fun project to get me back into programming in general. (also fun thinking about all the things i would add to this if it were an addon that was easy to use... skip call, go back 1 call, check if dead, then use replacement from list....)
but in the mean time, can anyone please put it in macro format (sorry, i don't even see how to transfer what you wrote into a macro format... )
---------- Post added 2013-03-17 at 12:58 PM ----------
oops, re-read my post and forgot to say "thanks for reply!"
how does it know that t1 , t2 are variables?[quote]and the first chat is a /rw ? where is that specified?Code:local t1,t2 = p[o-1],p[o]
That's my bad. The line should read
Code:SendChatMessage(("%s and %s take next"):format(t1,t2),"RAID_WARNING")You can set more than one slash command to the same command handler (think /g and /guild, /p and /party, /m and /macro). SLASH_TAKENEXT1 is the first slash command, SLASH_TAKENEXT2 would be the second etc.why is it TAKENEXT1 ? and not TAKENEXT
Would simply need to define a second slash handler (or add functionality to the first), then macro that separately.what i don't like about this solution is that i don't see a way to reset this in the middle
Code:SlashCmdList["TAKENEXT"] = function(input) if input:lower() == "reset" then print("Reset!") c = 0 return end -- existing code here endInto the addon's file, which would need a /reload to update every time. Could probably make it editable using a macro, too (with another slash command). Might write something later.where would i be putting names
But soon after Mr Xi secured a third term, Apple released a new version of the feature in China, limiting its scope. Now Chinese users of iPhones and other Apple devices are restricted to a 10-minute window when receiving files from people who are not listed as a contact. After 10 minutes, users can only receive files from contacts.
Apple did not explain why the update was first introduced in China, but over the years, the tech giant has been criticised for appeasing Beijing.
Code:#showtooltip /cast [mod:shift,@focus][]!Leap /cast [mod:shift,@focus][]!Gnaw
Hey, peeps
i was wondering if it's possible to create rogue blind macro which blinds focus target if focus exists, and just blinds your targeted enemy if focus doesnt exist?
Code:#showtooltip /cast [@focus,exists][]Blind