Elitist Jerks
Register
Blogs
Urban Rivals
Forums
New Posts


Go Back   Elitist Jerks > Public Discussion > Public Discussion
Elitist Jerks Login

gamerDNA Login

Welcome to Elitist Jerks
We're testing some new features on the site regarding OpenID registration and coordination with gamerDNA. If you experience any issues with registering an account, please take the time to fill out a report and send it to this e-mail address. We would appreciate any assistance you could provide in making sure everything is functioning as intended. Thanks!

If this is your first visit, please be sure to check out the FAQ and the forum rules. Users must register to post and new registrations are subject to a one day "mute" period to get acquainted with the community.

Reply
 
LinkBack (9) Thread Tools
Old 07/05/09, 12:11 PM   #676
TimWischmeier
Piston Honda
 
Blood Elf Paladin
 
Kult der Verdammten (EU)
My Self-Cast key is Alt (it is Alt in Bartender4, too).

I did some further testing. The second macro works if I press ctrl and click it (it judges my target). If I change the first line of the first macro to
/cast [mod:ctrl, harm] Holy Shock
, hold ctrl and click it, it also works as expected.

So, obviously, it looks as some addons create this hassle. Which is odd, because basically I just use BT4 which interacts with bindings. I do not use clique.
 
User is offline.
Reply With Quote
Old 07/07/09, 4:10 AM   #677
sarf
Discordian Taoist Transhumanist
 
sarf's Avatar
 
Fras
Tauren Druid
 
No WoW Account (EU)
Originally Posted by TimWischmeier View Post
My Self-Cast key is Alt (it is Alt in Bartender4, too).

I did some further testing. The second macro works if I press ctrl and click it (it judges my target). If I change the first line of the first macro to
/cast [mod:ctrl, harm] Holy Shock
, hold ctrl and click it, it also works as expected.

So, obviously, it looks as some addons create this hassle. Which is odd, because basically I just use BT4 which interacts with bindings. I do not use clique.
Your Holy Shock macro was erroneous as it used "target=harm" which makes no sense to the WoW macro parser, so it just cast it on you.

Regarding long condition strings: You should always start with the most detailed and most obscure condition. This is because it will indeed match the first condition that applies. Start it with the focustarget thing.

As for Sacred Shield, it may be the [] condition that messes it up. Start with just one condition then keep adding them - as said, most detailed first - in the Sacred Shield example, the mouseover/raid condition.

EDIT:
I do not think macros work as expected if you trigger them using the keyboard and modifier, but I am unsure - I have had some problems with that.

Be like a child - greedy, self-centered and immune from prosecution.
 
User is offline.
Reply With Quote
Old 07/07/09, 11:08 PM   #678
Szarach
Glass Joe
 
Szarach's Avatar
 
Human Death Knight
 
Tanaris
I'm trying to make a mouseover taunt macro for Yogg phase 3.

I've been using with success:

#showtooltip
/cast [target=mouseover] Dark Command

I'd like to take it one step further and make my mouseover target my main target. I tried doing this, but it didn't work.

#showtooltip
/tar [target=mouseover}
/cast [target=mouseover] Dark Command


Any help would be appreciated.
 
User is offline.
Reply With Quote
Old 07/07/09, 11:46 PM   #679
vorda
Bald Bull
 
vorda's Avatar
 
Blood Elf Paladin
 
Jaedenar (EU)
I suppose you realise the typo in your /target line (you did } instead of ] ).
I do think what you posted should work, but try a "/target mouseover" instead in case it doesn't.
 
User is offline.
Reply With Quote
Old 07/07/09, 11:54 PM   #680
 Adoriele
Ninja baby!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by vorda View Post
I suppose you realise the typo in your /target line (you did } instead of ] ).
I do think what you posted should work, but try a "/target mouseover" instead in case it doesn't.
What he wrote won't work (though your suggestion of simply /target mouseover will) because everything in brackets is a modifier (poor word to use, since 'modifier' is itself a modifier). In effect, '/target [target=mouseover]' reads like just plain '/target', but with a caveat. Unfortunately, '/target' isn't a valid command, since you're not telling it what to target. It'd be like writing '/cast'.
 
User is offline.
Reply With Quote
Old 07/08/09, 5:04 PM   #681
Erdluf
Don Flamenco
 
Night Elf Druid
 
Echo Isles
Chaining #show

In a couple of cases I'm using /click to split a long macro into two pieces under the 255 character limit:

#showtooltip
/use [nomod:shift] TheFirstHalfOfMyMacro
/click [mod:shift]MultiBarLeftButton3

where MultiBarLeftButton3 has another macro (logically, the second half of my macro). Depending on other things, the second half might cast one of several spells.

Suppose the first half (the stuff shown above) is on ActionBarButton1 (which is bound to a convenient key). MultiBarLeftButton3 will show what it will do, but if I'm currently holding the shift key, ActionBarButton1 will just show the question mark.

Is there any way to get ActionBarButton1 to show whatever MultiBarLeftButton3 is showing (or another solution for long macros that would show what I want)?
 
User is offline.
Reply With Quote
Old 07/08/09, 8:58 PM   #682
Lucinde
Piston Honda
 
Human Priest
 
Lightbringer (EU)
You can use modifiers in the #showtooltip line as well:

#showtooltip [modifier:shift] Spell_A; Spell_B
Of course, if MultiBarLeftButton3 can do various things, you have to add all those conditions to the showtooltip as well, which probably isn't feasible as you're using the macro to get past the 255 character limit.

I don't think you can make a macro to show the tooltip of another button.

Last edited by Lucinde : 07/12/09 at 5:56 AM.
 
User is offline.
Reply With Quote
Old 07/10/09, 6:48 PM   #683
Trashbag
Glass Joe
 
Trashbag's Avatar
 
Tauren Shaman
 
Blackrock
Looking over the API, I came across this function

GetSpellInfo (spellId | spellName | spellLink) - Returns the spell's info, including name, cost, icon, cast time, and range.

The particular part I am looking at the return info: cast time.

Would it be possible to use this for an enhance shamans Lightning Bolt and set it to cast only when it returns a 0sec cast time (instant cast).
 
User is offline.
Reply With Quote
Old 07/10/09, 6:59 PM   #684
 Adoriele
Ninja baby!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
No. You'd be able to get the info in a macro by using, say*,
/script local _; _, _, checktime = GetSpellInfo("Lightning Bolt")
but there's nowhere to go from there. You can't use checktime as a conditional in a macro, and /CastSpellByName no longer works (or only works outside of combat).

*only an example, unsure if cast time is the third return parameter.
 
User is offline.
Reply With Quote
Old 07/10/09, 7:07 PM   #685
Reallunacy
Glass Joe
 
Reallunacy's Avatar
 
Human Paladin
 
Vek'nilash
Originally Posted by Trashbag View Post
Looking over the API, I came across this function

GetSpellInfo (spellId | spellName | spellLink) - Returns the spell's info, including name, cost, icon, cast time, and range.

The particular part I am looking at the return info: cast time.

Would it be possible to use this for an enhance shamans Lightning Bolt and set it to cast only when it returns a 0sec cast time (instant cast).
Until 3.2 hits you can use the following macro, but Blizzard has stated that they plan on removing that functionality for Shamans and Paladins.

/cast Lightning Bolt
/stopcasting
 
User is offline.
Reply With Quote
Old 07/12/09, 9:22 AM   #686
Roughsects
Glass Joe
 
Dwarf Paladin
 
Misha
Scanned through the posts looking for macros which offered a pause between casting. For example, if I had two trinkets that did not share a cooldown, what would be the proper format?

I am remise to offer the example which I attempted as it was quite similiar to a child using a crayon to conduct advanced mathematics. At any rate, forgive me if I overlooked this in previous posts and should my post warrant an infraction I hope Kaubel gives it to me. He has spunk.
 
User is offline.
Reply With Quote
Old 07/12/09, 11:18 AM   #687
Gogusrl
Piston Honda
 
Gogusrl's Avatar
 
Orc Warlock
 
Jaedenar (EU)
Is there any easy way to move in or out of the bank/gbank a bunch of items with the same name (thinking glyhps) with a macro ?
 
User is offline.
Reply With Quote
Old 07/12/09, 2:08 PM   #688
 Adoriele
Ninja baby!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Roughsects View Post
Scanned through the posts looking for macros which offered a pause between casting. For example, if I had two trinkets that did not share a cooldown, what would be the proper format?

I am remise to offer the example which I attempted as it was quite similiar to a child using a crayon to conduct advanced mathematics. At any rate, forgive me if I overlooked this in previous posts and should my post warrant an infraction I hope Kaubel gives it to me. He has spunk.
You cannot insert a pause in casting into a macro.
 
User is offline.
Reply With Quote
Old 07/14/09, 12:21 PM   #689
shivand007
Von Kaiser
 
shivand007's Avatar
 
Orc Death Knight
 
Firetree
Is there a macro command to change equipment with equipment manager? I want to have a button that toggles between my specs and changes my gear accordingly. I would get an addon to do it but I have too many of those as it is already and would prefer to not add to the list.
 
User is offline.
Reply With Quote
Old 07/14/09, 12:26 PM   #690
 Chicken
Co-starring: The Egg
 
Chicken's Avatar
 
Blood Elf Paladin
 
Azjol-Nerub (EU)
Originally Posted by shivand007 View Post
Is there a macro command to change equipment with equipment manager? I want to have a button that toggles between my specs and changes my gear accordingly. I would get an addon to do it but I have too many of those as it is already and would prefer to not add to the list.
/equipset Set Name
The set name is case sensitive, and it supports all the usual macro conditions. For example, let's say you have a tank set and dps set (Both unimaginatively called either tank or dps), and also a tank and dps spec. A macro which would swap both would be:

/equipset [spec:1] dps; [spec:2] tank;
/usetalents [spec:1] 2; [spec:2] 1;
Do keep in mind that spec swapping takes 5 seconds, so if you use the /equipset command, your condition needs to check whether you're in your old spec to swap to your new spec's gear.

buff /bʌf/ Pronunciation[buhf]
–verb (used with object)
- to reduce or deaden the force of
 
User is offline.
Reply With Quote
Old 07/14/09, 1:17 PM   #691
shivand007
Von Kaiser
 
shivand007's Avatar
 
Orc Death Knight
 
Firetree
Precisely what I needed. Now, forgive me if I'm retarded here but, doesn't swapping weapons invoke the gcd or something of that nature to keep u from swapping weapons to cast certain spells? And if so does that effect the "cast" on spec swapping at all? If so then a seperate button to swap weapons is easy enough I guess.
 
User is offline.
Reply With Quote
Old 07/14/09, 1:21 PM   #692
 Chicken
Co-starring: The Egg
 
Chicken's Avatar
 
Blood Elf Paladin
 
Azjol-Nerub (EU)
You're completely correct about that, but as you said, it only affects certain spells. Swapping your talent spec and casting a mount are both spells which aren't interrupted by changing your gear.

buff /bʌf/ Pronunciation[buhf]
–verb (used with object)
- to reduce or deaden the force of
 
User is offline.
Reply With Quote
Old 07/20/09, 11:33 PM   #693
Takos
Glass Joe
 
Orc Warrior
 
Kazzak (EU)
Hello, I'm looking for a macro which will recognising a target and if it's friendly cast intervene and if it's hostile cast intercept.
 
User is offline.
Reply With Quote
Old 07/20/09, 11:35 PM   #694
 Adoriele
Ninja baby!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Takos View Post
Hello, I'm looking for a macro which will recognising a target and if it's friendly cast intervene and if it's hostile cast intercept.
/cast [help] Intervene; Intercept
 
User is offline.
Reply With Quote
Old 07/22/09, 4:33 AM   #695
sarf
Discordian Taoist Transhumanist
 
sarf's Avatar
 
Fras
Tauren Druid
 
No WoW Account (EU)
Originally Posted by Gogusrl View Post
Is there any easy way to move in or out of the bank/gbank a bunch of items with the same name (thinking glyhps) with a macro ?
It's possible, but convoluted.

First, you have to find the item in the bank and pick it up. I assume that the bank bags start at 5 and end at 11.

/run for b=5,11 do for s=1,GetContainerNumSlots(b) do if GetItemInfo(GetContainerItemLink(b,s))=="Glyph of Banking" then PickupContainerItem(b,s) for p=20,23 do PutItemInBag(p) end PutItemInBackpack() end end end
This may work and will attempt to get all Glyph of Banking into your bags. If you want all glyphs, this might work:
/run for b=5,11 do for s=1,GetContainerNumSlots(b) do n=GetItemInfo(GetContainerItemLink(b,s)) if n and strfind(n,"Glyph of") then PickupContainerItem(b,s) for p=20,23 do PutItemInBag(p) end PutItemInBackpack() end end end

Be like a child - greedy, self-centered and immune from prosecution.
 
User is offline.
Reply With Quote
Old 07/22/09, 4:46 AM   #696
Bambislayer
Glass Joe
 
Dwarf Hunter
 
Bloodhoof (EU)
Hi.

I am looking for help with a taunt macro to announce who i am taunting from. I am just basically wondering if there is a similiar condition as %t (target) for Targets target. I am trying to do a macro so i can announce quickly to the raid and person in question that I've had to taunt.

for example


#showtooltip growl
/rw ***TAUNTING %t*** from <targetstarget>
/ra ***TAUNTING %t*** from <targetstarget>
/p ***TAUNTING %t*** from <targetstarget>
/w <targetstarget> Taunted from you
/cast Growl()


so this macro would ideally announce in all party/raid chats i had permission to and also /w the person i had to grab aggro from.

Thank you for your time in helping/answering this in advance.
 
User is offline.
Reply With Quote
Old 07/22/09, 9:34 AM   #697
sarf
Discordian Taoist Transhumanist
 
sarf's Avatar
 
Fras
Tauren Druid
 
No WoW Account (EU)
Originally Posted by Bambislayer View Post
Hi.

I am looking for help with a taunt macro to announce who i am taunting from. I am just basically wondering if there is a similiar condition as %t (target) for Targets target. I am trying to do a macro so i can announce quickly to the raid and person in question that I've had to taunt.

for example


#showtooltip growl
/rw ***TAUNTING %t*** from <targetstarget>
/ra ***TAUNTING %t*** from <targetstarget>
/p ***TAUNTING %t*** from <targetstarget>
/w <targetstarget> Taunted from you
/cast Growl()


so this macro would ideally announce in all party/raid chats i had permission to and also /w the person i had to grab aggro from.

Thank you for your time in helping/answering this in advance.
You can send chat from script commands. Hence:
/run tt=UnitName("targettarget") t=UnitName("target") cn={"RAID_WARNING","RAID","PARTY"} for k,v in pairs(cn) do SendChatMessage("**TAUNTING "..t.." *** from "..tt,v,nil) end SendChatMessage("Taunted from you","WHISPER",nil,tt)
/cast Growl()
If you are doing the message sending in an addon or expanded macro, you could add a check for cooldown on Growl so that you will not spam everyone.

Be like a child - greedy, self-centered and immune from prosecution.
 
User is offline.
Reply With Quote
Old 07/22/09, 2:41 PM   #698
Pacer
Glass Joe
 
Pacer's Avatar
 
Dwarf Paladin
 
Bloodhoof (EU)
Im looking for a Holy shock macro, basically I've been using the following:

#showtooltip
/cast [target=mouseover] Holy Shock

This macro is near perfect for me however in fights like Yogg Saron I sometimes dps the constrictors/corrupters but not only do I need to target them (to use judgement and other spells) I also need to mouseover them in order to use Holy shock.

Im looking for a macro that does:
Holy shock on friendly mouseover>Holy shock on friendly target>Holy shock on hostile mouseover>Holy shock on hostile target

If that is not possible, Holy shock on mouseover>Holy shock on target would also be an option
 
User is offline.
Reply With Quote
Old 07/22/09, 2:48 PM   #699
Xoya
...
 
Xoya's Avatar
 
Orc Shaman
 
Mal'Ganis
Originally Posted by Pacer View Post
Im looking for a macro that does:
Holy shock on friendly mouseover>Holy shock on friendly target>Holy shock on hostile mouseover>Holy shock on hostile target
/cast [target=mouseover,help] [help] [target=mouseover,harm] [harm] Holy Shock

<XI|> wait xoya is getting married to riot?
 
User is offline.
Reply With Quote
Old 07/26/09, 2:31 PM   #700
f1reburn
Piston Honda
 
Night Elf Death Knight
 
<IFA>
Frostmane (EU)
I'm trying to convert the following macro into something that works without me needing to click the button, so I can use keypresses instead, by using the click actionbutton command. The additional requirement I'm trying to meet is to do this while only occupying one button.

/cast [modifier:alt, target=focus] Polymorph(Rank 4); [nomodifier:alt] Polymorph(Rank 4)
 
User is offline.
Reply With Quote
Reply

Go Back   Elitist Jerks > Public Discussion > Public Discussion

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Warlock] 5 v 5 Macro help Cronjob Player vs. Player 13 09/08/07 7:38 AM
Need help with a macro. Iol User Interface and AddOns 5 08/10/07 4:36 PM
Macro Fun KGBAgent185 Public Discussion 16 11/05/05 2:24 PM