Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Macro question

 
   Game Forums (Home) -> WarCraft -> WOW Macros RSS
Related Topics:
Question about a macro... - Ok, here's my plan...a simple macro to cast Hunter's Mark and then have my pet attack. But the problem I foresee is this: when I send my pet in to attack, I usually don't target the mob first, I just point myself toward it and the pet will..

Warlock Macro Question - I'm a level 46 Undead Warlock. I spend most of my time soloing. I haven't really paid much attention to using macros, but thought I'd better get my act in gear. For the warlocks out there, what macros do you use most often and why? Thanks in..

help with a macro? - Hi guys. So I've been playing WoW since Tuesday and I'm having a great time so far! Now, I'm trying to automate something that has become a regular for me when I log on. Is it possible to write a macro that does these things: cast Frost..

macro help - I have this macro that I wrote: reset=3 Thorns, Mark of the Wild How can I edit it so that it will only cast MotW (and skip Thorns) if I hold down the shift key while pressing the hotkey? Thanks.

A little macro help - I have this macro to cast on myself: Power Word: reset=5 Touch of Weakness, Inner Fire, Power Word: Fortitude How do I need to modify this so that if I have a friendly target selected, I can use the same..
Next:  I love this game :)  
Author Message
lcpltom

External


Since: Apr 17, 2007
Posts: 1085



(Msg. 1) Posted: Mon Jan 14, 2008 7:26 am
Post subject: Macro question
Archived from groups: alt>games>warcraft (more info?)

Is there any way to call another macro inside of a different macro?

A lot of my damage spells are set up to attempt to use my damage
trinkets on every cast. This means I have a lot of macros that have
these lines in them:

/use 13
/use 14

Is there anyway of creating a macro, named Trinkets or something, that
has nothing but those 2 lines, then insert into another macro, say for
my shadowbolt:

#showtooltip Shadow Bolt
/call Trinkets (yes I know /call doesn't exist as a macro command, I
just don't know what else to use here)
/cast Shadow Bolt

The programmer in me sees the repeated use of those 2 lines of code in
90% of my macros as something better suited as a function call. Less
room for error that way.

 >> Stay informed about: Macro question 
Back to top
Login to vote
Azareus

External


Since: May 04, 2007
Posts: 5



(Msg. 2) Posted: Mon Jan 14, 2008 8:53 am
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> Is there any way to call another macro inside of a different macro?

Yes.

> Is there anyway of creating a macro, named Trinkets or something, that
> has nothing but those 2 lines, [...]

Yes.

> The programmer in me sees the repeated use of those 2 lines of code in
> 90% of my macros as something better suited as a function call. Less
> room for error that way.

The programmer in you will find interesting MacroSequence Smile

http://www.wowinterface.com/downloads/fileinfo.php?id=7911

Az

 >> Stay informed about: Macro question 
Back to top
Login to vote
daman

External


Since: May 02, 2007
Posts: 22



(Msg. 3) Posted: Mon Jan 14, 2008 9:00 am
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I only have my trinkets set on corruption & Seed of corruption. I
cast those on pretty much everything, so it catches each trinket
within ten seconds of cooldown.

On Jan 14, 9:26 am, lcpltom <lcpl....DeleteThis@yahoo.com> wrote:
> Is there any way to call another macro inside of a different macro?
>
> A lot of my damage spells are set up to attempt to use my damage
> trinkets on every cast. This means I have a lot of macros that have
> these lines in them:
>
> /use 13
> /use 14
>
> Is there anyway of creating a macro, named Trinkets or something, that
> has nothing but those 2 lines, then insert into another macro, say for
> my shadowbolt:
>
> #showtooltip Shadow Bolt
> /call Trinkets (yes I know /call doesn't exist as a macro command, I
> just don't know what else to use here)
> /cast Shadow Bolt
>
> The programmer in me sees the repeated use of those 2 lines of code in
> 90% of my macros as something better suited as a function call. Less
> room for error that way.
 >> Stay informed about: Macro question 
Back to top
Login to vote
lcpltom

External


Since: Apr 17, 2007
Posts: 1085



(Msg. 4) Posted: Mon Jan 14, 2008 9:19 am
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 14, 12:00 pm, daman <dama... RemoveThis @gmail.com> wrote:
> I only have my trinkets set on corruption & Seed of corruption. I
> cast those on pretty much everything, so it catches each trinket
> within ten seconds of cooldown.
>
> On Jan 14, 9:26 am, lcpltom <lcpl... RemoveThis @yahoo.com> wrote:
>
> > Is there any way to call another macro inside of a different macro?
>
> > A lot of my damage spells are set up to attempt to use my damage
> > trinkets on every cast. This means I have a lot of macros that have
> > these lines in them:
>
> > /use 13
> > /use 14
>
> > Is there anyway of creating a macro, named Trinkets or something, that
> > has nothing but those 2 lines, then insert into another macro, say for
> > my shadowbolt:
>
> > #showtooltip Shadow Bolt
> > /call Trinkets (yes I know /call doesn't exist as a macro command, I
> > just don't know what else to use here)
> > /cast Shadow Bolt
>
> > The programmer in me sees the repeated use of those 2 lines of code in
> > 90% of my macros as something better suited as a function call. Less
> > room for error that way.

I put it on all my damaging spells. I figure I get the most benefit
out of them this way, especially on longer fights, preventing any
downtime in the trinket's use.
 >> Stay informed about: Macro question 
Back to top
Login to vote
PV

External


Since: May 18, 2006
Posts: 4047



(Msg. 5) Posted: Mon Jan 14, 2008 4:27 pm
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

lcpltom <lcpltom.RemoveThis@yahoo.com> writes:
>Is there any way to call another macro inside of a different macro?

I don't think so.

>Is there anyway of creating a macro, named Trinkets or something, that
>has nothing but those 2 lines, then insert into another macro, say for
>my shadowbolt:

I wish there was, but as far as I know it can't be done. *
--
* PV something like badgers--something like lizards--and something
like corkscrews.
 >> Stay informed about: Macro question 
Back to top
Login to vote
Catriona R

External


Since: Aug 14, 2005
Posts: 4636



(Msg. 6) Posted: Mon Jan 14, 2008 8:10 pm
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 14 Jan 2008 09:19:29 -0800 (PST), lcpltom <lcpltom DeleteThis @yahoo.com>
wrote:

>I put it on all my damaging spells. I figure I get the most benefit
>out of them this way, especially on longer fights, preventing any
>downtime in the trinket's use.

I only put them on spells I use as openers, personally I feel it's a bit of
a waste of a trinket if I use it just as the last mob dies and the bonus is
ticking away while I'm not actually casting anything... Wink Haven't
actually set them up on my locks yet but my priest just has it on holy fire
which I use as an opener and not much beyond that (due to long cast time)
--
EU-Draenor:
Balgair - Human Rogue (lvl 70)
Naomh - Draenei Priest (lvl 70)
Rosad - Human Warlock (lvl 70)
Sealgair - Dwarf Hunter (lvl 70)
Sagart - Undead Priest (lvl 70)
Eilnich - Blood Elf Warlock (lvl 60)
Beag - Dwarf Paladin (lvl 60)
Sgoildubh - Human Mage (lvl 53)
Cathach - Gnome Warrior (lvl 30)
 >> Stay informed about: Macro question 
Back to top
Login to vote
kerri

External


Since: Oct 30, 2007
Posts: 350



(Msg. 7) Posted: Mon Jan 14, 2008 8:17 pm
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> #showtooltip Shadow Bolt
> /call Trinkets (yes I know /call doesn't exist as a macro command, I
> just don't know what else to use here)
> /cast Shadow Bolt

Can you show me this trinkets macro?

I have Xi'ri's Gift (+150 damage or something like that), and I'd like to
find a way to automatically fire it when I start shadowbolt spamming. I tried
something obvious, but I think the macro fails when the trinket is on
cooldown and never casts the shadowbolt.

-----------------------------------------------------------
Posted using Android Newsgroup Downloader:
.... http://www.sb-software.com/android
-----------------------------------------------------------
 >> Stay informed about: Macro question 
Back to top
Login to vote
Catriona R

External


Since: Aug 14, 2005
Posts: 4636



(Msg. 8) Posted: Mon Jan 14, 2008 8:24 pm
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 14 Jan 2008 20:17:42 GMT, kerri DeleteThis @spamsucks.com wrote:

>> #showtooltip Shadow Bolt
>> /call Trinkets (yes I know /call doesn't exist as a macro command, I
>> just don't know what else to use here)
>> /cast Shadow Bolt
>
>Can you show me this trinkets macro?
>
>I have Xi'ri's Gift (+150 damage or something like that), and I'd like to
>find a way to automatically fire it when I start shadowbolt spamming. I tried
>something obvious, but I think the macro fails when the trinket is on
>cooldown and never casts the shadowbolt.

#showtooltip Shadowbolt
/use 13
/use 14
/cast Shadowbolt
/script UIErrorsFrame:Clear()

If one of your trinkets has a use that you'd rather not have going off
randomly (like I use Oculus of the Hidden Eye on my UD priest, which gives
mana back if I use it within 10 sec before a mob dies), then take one of
the use lines out so only one trinket gets used, and put the trinket you
don't want to use in the slot that's not being used (upper slot = 13, lower
slot = 14)

The script thingy at the end hides the "item not ready yet" spam you get
when the trinket isn't ready btw, it only applies to that spell, although
it's kinda annoying if it fails for out of range or something and you don't
notice because there's no error message - just remove it if you prefer not
to have it.
--
EU-Draenor:
Balgair - Human Rogue (lvl 70)
Naomh - Draenei Priest (lvl 70)
Rosad - Human Warlock (lvl 70)
Sealgair - Dwarf Hunter (lvl 70)
Sagart - Undead Priest (lvl 70)
Eilnich - Blood Elf Warlock (lvl 60)
Beag - Dwarf Paladin (lvl 60)
Sgoildubh - Human Mage (lvl 53)
Cathach - Gnome Warrior (lvl 30)
 >> Stay informed about: Macro question 
Back to top
Login to vote
PV

External


Since: May 18, 2006
Posts: 4047



(Msg. 9) Posted: Mon Jan 14, 2008 9:27 pm
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

kerri.DeleteThis@spamsucks.com writes:
>> #showtooltip Shadow Bolt
>> /call Trinkets (yes I know /call doesn't exist as a macro command, I
>> just don't know what else to use here)
>> /cast Shadow Bolt
>
>Can you show me this trinkets macro?

We've been talking about this a lot lately. Here's what you want:
#showtooltip
#show shadow bolt
/use 13
/use 14
/cast shadow bolt

13 and 14 are the top and bottom trinket slots respectively. You can also
do a use by name, but I prefer the slot method because it lets me swap out
for other trinkets without changing the macros. *
--
* PV something like badgers--something like lizards--and something
like corkscrews.
 >> Stay informed about: Macro question 
Back to top
Login to vote
kerri

External


Since: Oct 30, 2007
Posts: 350



(Msg. 10) Posted: Tue Jan 15, 2008 12:54 am
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> #showtooltip Shadowbolt
> /use 13
> /use 14
> /cast Shadowbolt
> /script UIErrorsFrame:Clear()

Thanks. I think it has to be "shadow bolt" and not "shadowbolt" (that was the
original reason why my macro didn't work the first time I tried it).

I moved the UIErrorsFrame:Clear() up one line, and this will clear the errors
from the trinkets and leave the (potential) "out of range" / "invalid
target" error from the shadow bolt.

The only remaining thing that really irks me is the annoying noise that
sounds when you try to use the trinkets when they are on cooldown. Even
though the error message itself is now gone, I still hear that annoying noise
everytime I use the macro.

One of my goals was to use both "Xi'ri's Gift' and 'Scryers Bloodgem' at the
same time. They both have the effect of + 150 spell damage. However, not
surprisingly, it doesn't stack so using both at the same time is a waste. Is
there anyway to force it so that a trinket can only be used if it's effect is
not already active?

Finally, if there is no convenient way to use both of these trinkets, can
someone suggest to me some good alternate warlock trinkets?

-----------------------------------------------------------
Posted using Android Newsgroup Downloader:
.... http://www.sb-software.com/android
-----------------------------------------------------------
 >> Stay informed about: Macro question 
Back to top
Login to vote
kerri

External


Since: Oct 30, 2007
Posts: 350



(Msg. 11) Posted: Tue Jan 15, 2008 1:53 am
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

A little bit of resarch and I answered my own questions. The final, working
macro:

#showtooltip

#show shadow bolt

/run SetCVar("Sound_EnableSFX","0")

/use Xi'Ri's Gift

/use Scryer's Bloodgem

/run SetCVar("Sound_EnableSFX","1")

/script UIErrorsFrame:Clear()

/cast Shadow Bolt

The SetCVar commands turn sound effects on and off.

The trinkets cause a 15-second cooldown automatically so I was wrong when I
originally thought I was "wasting" one of them by using them both. In fact,
only one fires at a time.

Also, as Catriona and PV mentioned, you can "/use 13" and "/use 14" to use
whatever is in the macro slots. I chose to spell out the item names because I
sometimes have my poultryizer or gnomish teleporter equipped, and don't need
those going off by mistake when I want to spam shadowbolts.

I also found (though I have not tried) this useful tidbit on wowwiki that
could use used for trinkets with longer cooldowns:

/castsequence reset=90 Bladefist's Breadth, Blackhand's Breadth


-----------------------------------------------------------
Posted using Android Newsgroup Downloader:
.... http://www.sb-software.com/android
-----------------------------------------------------------
 >> Stay informed about: Macro question 
Back to top
Login to vote
Catriona R

External


Since: Aug 14, 2005
Posts: 4636



(Msg. 12) Posted: Tue Jan 15, 2008 2:21 am
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 15 Jan 2008 00:54:23 GMT, kerri DeleteThis @spamsucks.com wrote:

>> #showtooltip Shadowbolt
>> /use 13
>> /use 14
>> /cast Shadowbolt
>> /script UIErrorsFrame:Clear()
>
>Thanks. I think it has to be "shadow bolt" and not "shadowbolt" (that was the
>original reason why my macro didn't work the first time I tried it).

Ahh, wasn't on my warlock at the time so just used the spellname from
memory lol, oops!

>I moved the UIErrorsFrame:Clear() up one line, and this will clear the errors
>from the trinkets and leave the (potential) "out of range" / "invalid
>target" error from the shadow bolt.

Ooh, I didn't know that would work, nice, I'll do that on my macros! Smile
--
EU-Draenor:
Balgair - Human Rogue (lvl 70)
Naomh - Draenei Priest (lvl 70)
Rosad - Human Warlock (lvl 70)
Sealgair - Dwarf Hunter (lvl 70)
Sagart - Undead Priest (lvl 70)
Eilnich - Blood Elf Warlock (lvl 60)
Beag - Dwarf Paladin (lvl 60)
Sgoildubh - Human Mage (lvl 53)
Cathach - Gnome Warrior (lvl 30)
 >> Stay informed about: Macro question 
Back to top
Login to vote
lcpltom

External


Since: Apr 17, 2007
Posts: 1085



(Msg. 13) Posted: Tue Jan 15, 2008 4:57 am
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jan 14, 8:53 pm, ke... DeleteThis @spamsucks.com wrote:
> A little bit of resarch and I answered my own questions. The final, working
> macro:
>
> #showtooltip
>
> #show shadow bolt
>
> /run SetCVar("Sound_EnableSFX","0")
>
> /use Xi'Ri's Gift
>
> /use Scryer's Bloodgem
>
> /run SetCVar("Sound_EnableSFX","1")
>
> /script UIErrorsFrame:Clear()
>
> /cast Shadow Bolt
>
> The SetCVar commands turn sound effects on and off.
>
> The trinkets cause a 15-second cooldown automatically so I was wrong when I
> originally thought I was "wasting" one of them by using them both. In fact,
> only one fires at a time.
>
> Also, as Catriona and PV mentioned, you can "/use 13" and "/use 14" to use
> whatever is in the macro slots. I chose to spell out the item names because I
> sometimes have my poultryizer or gnomish teleporter equipped, and don't need
> those going off by mistake when I want to spam shadowbolts.
>
> I also found (though I have not tried) this useful tidbit on wowwiki that
> could use used for trinkets with longer cooldowns:
>
> /castsequence reset=90 Bladefist's Breadth, Blackhand's Breadth
>
> -----------------------------------------------------------
> Posted using Android Newsgroup Downloader:
> ....http://www.sb-software.com/android
> -----------------------------------------------------------

I think though if you don't have those trinkets equipped, this macro
will attempt to equip them. Not a problem if you are in combat since
you can't change trinkets in combat, but if you are entering combat
with your initial cast, this macro might change your trinkets.

I have been looking for a way to make it conditional as well, only use
the trinket if it is equipped. There is an equipped conditional, but
it seems to be based of the type of gear equipped. The most common
example of a macro using this conditional was for warriors, along the
lines of /cast [equipped:Shields] Defensive Stance, which
automatically puts the warrior into defensive stance whenever he has a
shield equipped. I haven't tried it but from what I read it won't
work, but I wanted to try something like /use [equipped:Xi'ri's Gift]
Xi'ri's Gift. I don't think that will work though from what I have
read.

I like that sound effects change though, something I will need to
include in my macros.
 >> Stay informed about: Macro question 
Back to top
Login to vote
PV

External


Since: May 18, 2006
Posts: 4047



(Msg. 14) Posted: Tue Jan 15, 2008 5:29 pm
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

kerri DeleteThis @spamsucks.com writes:
>One of my goals was to use both "Xi'ri's Gift' and 'Scryers Bloodgem' at the
>same time. They both have the effect of + 150 spell damage. However, not

Not possible. When you trigger one, it triggers a 30 second cooldown of the
other. You can get a tiny amount of overlap sometimes, but you can't set
them both off at once. By design.

>surprisingly, it doesn't stack so using both at the same time is a waste. Is
>there anyway to force it so that a trinket can only be used if it's effect is
>not already active?

There is no trinket that can be activated while the effect is still in
progress, as far as I can think of. Certainly neither of those trinkets,
given that the cooldown is longer than the effect.

>Finally, if there is no convenient way to use both of these trinkets, can
>someone suggest to me some good alternate warlock trinkets?

Those are great warlock trinkets - the same ones I used until I upgraded
one of them (can't remember which) to the badge trinket. *
--
* PV something like badgers--something like lizards--and something
like corkscrews.
 >> Stay informed about: Macro question 
Back to top
Login to vote
PV

External


Since: May 18, 2006
Posts: 4047



(Msg. 15) Posted: Tue Jan 15, 2008 5:32 pm
Post subject: Re: Macro question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

kerri.RemoveThis@spamsucks.com writes:
>A little bit of resarch and I answered my own questions. The final, working
>macro:
>
>/run SetCVar("Sound_EnableSFX","0")

I did not know about that variable. Thanks for that!
>
>/use Xi'Ri's Gift
>/use Scryer's Bloodgem

The only danger to using them by name is that if they're unequipped, they
fly into slot 13 (and a cooldown starts). If you occasionally swap
trinkets, this can be annoying. *
--
* PV something like badgers--something like lizards--and something
like corkscrews.
 >> Stay informed about: Macro question 
Back to top
Login to vote
Display posts from previous:   
   Game Forums (Home) -> WarCraft -> WOW Macros All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]