Macro Sticky

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

Re: Macro Sticky

Postby Skye1013 » Fri Oct 12, 2012 12:23 am

degre wrote:
Riânnon wrote:When holding down Alt (can be changed to Shift or Ctrl) will cast Holy Prism on you, without the modifier pressed will cast it on your current target.
Code: Select all
#showtooltip Holy Prism
/cast [mod:alt, @player] Holy Prism;Holy Prism

Don't know why you would macro something that the game does already by itself. I think by default it's shift+click to target self and there should be an option somewhere to change it to whatever key you prefer.

Default is alt and if you want to change it, go to Interface -> Combat and it's a dropdown box on the bottom right.
"me no gay, me friends gay, me no like you call me gay, you dumb dumb" -bldavis
"Here are the values that I stand for: I stand for honesty, equality, kindness, compassion, treating people the way you wanna be treated, and helping those in need. To me, those are traditional values. That’s what I stand for." -Ellen Degeneres
"I'm not going to censor myself to comfort your ignorance." -Jon Stewart
Horde: Clopin Dylon Sharkbait Xiaman Metria Metapriest
Alliance: Schatze Aleks Deegee Baileyi Sotanaht Danfer Shazta Rawrsalot Roobyroo
User avatar
Skye1013
Maintankadonor
 
Posts: 3548
Joined: Tue May 18, 2010 5:47 am
Location: JBPH-Hickam, Hawaii

Re: Macro Sticky

Postby econ21 » Thu Jan 03, 2013 5:05 pm

Anyone know why this macro does not work?

Code: Select all
#showtooltip
/cast [@player,nomod] Word of Glory
/cast [target=playername,mod:ctrl] Word of Glory



But this one does:

Code: Select all
#showtooltip
/cast [nomod] Flash of Light
/cast [target=playername,mod:ctrl] Flash of Light


Where playername is the character name of an arena partner.

Thanks for any debugging!
econ21
 
Posts: 1217
Joined: Tue Apr 01, 2008 8:53 am

Re: Macro Sticky

Postby Skye1013 » Wed Jan 16, 2013 9:19 pm

Which part of the macro isn't working? Casting on your arena partner or self/player target casting?
"me no gay, me friends gay, me no like you call me gay, you dumb dumb" -bldavis
"Here are the values that I stand for: I stand for honesty, equality, kindness, compassion, treating people the way you wanna be treated, and helping those in need. To me, those are traditional values. That’s what I stand for." -Ellen Degeneres
"I'm not going to censor myself to comfort your ignorance." -Jon Stewart
Horde: Clopin Dylon Sharkbait Xiaman Metria Metapriest
Alliance: Schatze Aleks Deegee Baileyi Sotanaht Danfer Shazta Rawrsalot Roobyroo
User avatar
Skye1013
Maintankadonor
 
Posts: 3548
Joined: Tue May 18, 2010 5:47 am
Location: JBPH-Hickam, Hawaii

Re: Macro Sticky

Postby econ21 » Thu Jan 17, 2013 7:37 am

Skye1013 wrote:Which part of the macro isn't working? Casting on your arena partner or self/player target casting?


The second part - trying to cast on my partner by holding down control.

It does not matter now though - sadly, our arena team broke up. A ret (me) and a holy paladin just seemed a bad combo. Or maybe I was just bad. Spent most of the fights CCd to hell or laying out pitiful dps when my CDs were blown. [I may be bitter but I am not sad, chasing druids around pillars is not the most fun thing you can do in Warcraft.]
econ21
 
Posts: 1217
Joined: Tue Apr 01, 2008 8:53 am

Re: Macro Sticky

Postby Skye1013 » Thu Jan 17, 2013 10:42 pm

Only thing I could have suggested then would be to make sure you were spelling the player name correctly, or maybe remove the @player (as that might have been causing some weird interaction on your WoG macro that wasn't apparent with the FoL macro.)
"me no gay, me friends gay, me no like you call me gay, you dumb dumb" -bldavis
"Here are the values that I stand for: I stand for honesty, equality, kindness, compassion, treating people the way you wanna be treated, and helping those in need. To me, those are traditional values. That’s what I stand for." -Ellen Degeneres
"I'm not going to censor myself to comfort your ignorance." -Jon Stewart
Horde: Clopin Dylon Sharkbait Xiaman Metria Metapriest
Alliance: Schatze Aleks Deegee Baileyi Sotanaht Danfer Shazta Rawrsalot Roobyroo
User avatar
Skye1013
Maintankadonor
 
Posts: 3548
Joined: Tue May 18, 2010 5:47 am
Location: JBPH-Hickam, Hawaii

Re: Macro Sticky

Postby culhag » Tue Feb 05, 2013 5:31 pm

Here's a macro that holds our 3 level 90 talents. You have to hit it once to set the tooltip to the right spell but it will always cast the talent you choose.

Put it in a macro named "Talent 90". (or if you want to use another name you'll have to change it in the last line of the macro too)
Code: Select all
#showtooltip
/use Holy Prism
/use Light's Hammer
/use Execution Sentence
/script mp=GetSpellInfo(114165); mh=GetSpellInfo(114158); me=GetSpellInfo(114157)
/run SetMacroSpell("Talent 90", GetSpellInfo(mp) or GetSpellInfo(mh) or GetSpellInfo(me))
User avatar
culhag
Maintankadonor
 
Posts: 1246
Joined: Wed Aug 06, 2008 7:50 am
Location: France

Re: Macro Sticky

Postby daishan » Mon Feb 18, 2013 3:04 am

I've found a macro for placing world markers (unfortunately I'm on the phone atm so can't post it).
What I'm really looking for is a macro that will allow me to drop several world markers one after another, either by using modifiers or by cycling through them. Any help would be much appreciated.
Daishan
"I'll be more enthusiastic about encouraging thinking outside the box when there's evidence of any thinking going on inside it." -- Terry Pratchett
User avatar
daishan
Maintankadonor
 
Posts: 433
Joined: Sun Mar 06, 2011 4:04 pm
Location: UK

Re: Macro Sticky

Postby Zalaria » Tue Feb 19, 2013 6:49 am

The macro to let you place one marker is this:
Code: Select all
/click CompactRaidFrameManagerDisplayFrameLeaderOptionsRaidWorldMarkerButton
/click DropDownList1Button5


If you could set up a variable that you increment from 1-5 and append that to DropDownList1Button and /click that, you could do it. I know you can set up a string with that value in LUA, but I don't know if you can combine /click and LUA commands.
Dovie'andi se tovya sagain - It's time to roll the dice
User avatar
Zalaria
Maintankadonor
 
Posts: 349
Joined: Tue Sep 11, 2007 7:27 am

Re: Macro Sticky

Postby Newsom » Sat Mar 02, 2013 3:46 am

I'd recommend getting Opie and binding the world marker ring (default is alt+Y I believe) if you want to place markers efficiently.
Frango NewsomNewsSpoon
User avatar
Newsom
 
Posts: 709
Joined: Wed Jun 23, 2010 1:34 am
Location: Sweden

Re: Macro Sticky

Postby Zylor » Wed Apr 17, 2013 7:09 pm

Well, at some point i was running out of hotkeyslots - so i combined some skills!

#showtooltip
/cast [target=target, exists, harm, nodead] Rebuke
/cast [mod:alt,target=player] Cleanse
/cast [target=target,noharm] Cleanse

(since rebuke is not on a GCD u sometimes kick the target and cleanse yourself :| )

#showtooltip
/cast [nomod,target=target, exists, harm, nodead] Shield of the Righteous
/cast [mod:alt,target=player] Word of Glory
/cast [target=target,noharm] Word of Glory

#showtooltip
/cast [nomod,target=target, exists, harm, nodead] Avenger's Shield
/cast [mod:alt,target=player] Sacred Shield
/cast [target=target, noharm] Sacred Shield
Zylor
 
Posts: 3
Joined: Wed Apr 17, 2013 7:00 pm

Re: Macro Sticky

Postby Monumeko » Thu Jun 13, 2013 4:57 am

Hi all,

As a newcomer I would like to say thanks to the community in regards to all things Pally tanking. It has made my life a lot simpler when coming to raiding MoP.

I have recently been playing around with my spec and the way I play things and was hoping to see what the community thinks of this macro I've been using.

#showtooltip Shield of the Righteous
/cast Holy Avenger
/cast Shield of the Righteous
/cast Word of Glory
/cast Sacred Shield
/cast Divine Protection (optional)

I'm a haste tank so I find with the 2 set bonus I always have up a 75% block chance as I'm able to refresh on WoG every 10 secs (ie., I have 5 holy power). Plus refreshing sacred shield as far as I know isn't a bad thing. I use Divine protection because of 4 set bonus.. but I understand if people would want to use that as a oh Sh*t button.

If anyone has any questions or comments I would love to hear them. Especially if you are able to tweak this even further.
Monumeko
 
Posts: 1
Joined: Thu Jun 13, 2013 2:22 am

Re: Macro Sticky

Postby Promdates » Mon Jun 24, 2013 7:56 am

What's the whole point of that macro? SotR is off the GCD and something you should be hitting some a frequent regularity. Holy Avenger is something you can use either offensively or defensively. WoG is another OHSHI button, Sacred Shield should be used somewhat regular depending on vengeance levels, and DProt should be used for certain moments depending on the fight.

I just don't understand why you'd want to put all of those abilities into one macro (and AFAIK that macro won't work if one of them won't go off). It's not like we have THAT many buttons to press, we're not Warriors!
User avatar
Promdates
 
Posts: 121
Joined: Thu Apr 12, 2007 4:10 pm

Re: Macro Sticky

Postby Fenrìr » Mon Jul 08, 2013 5:12 am

So with modifier macros with an ability, is there any way to make the tooltip adjust to the other ability?

For example:

#showtooltip
/start attack
/cast [nomod] Crusader Strike; [mod:shift] Hammer of the Righteous
/script UIErrorsFrame:Clear ()


When I push shift, is there a way to change the icon to show HotR?
Image
Fenrìr
Maintankadonor
 
Posts: 1137
Joined: Fri Nov 13, 2009 9:41 am

Re: Macro Sticky

Postby Zalaria » Mon Jul 08, 2013 5:25 am

It doesn't update on its own? I would have thought it would.

In any case, you can do all macro conditionals in #showtooltip:

Code: Select all
#showtooltip [nomod] Crusader Strike; [mod:shift] Hammer of the Righteous
/startattack
/cast [nomod] Crusader Strike; [mod:shift] Hammer of the Righteous
/script UIErrorsFrame:Clear ()


Also note that /startattack doesn't have a space.
Dovie'andi se tovya sagain - It's time to roll the dice
User avatar
Zalaria
Maintankadonor
 
Posts: 349
Joined: Tue Sep 11, 2007 7:27 am

Re: Macro Sticky

Postby Fenrìr » Mon Jul 08, 2013 5:29 am

Start attack with a space has always worked for me.

And the #showtooltip mod:shift isn't working.
Image
Fenrìr
Maintankadonor
 
Posts: 1137
Joined: Fri Nov 13, 2009 9:41 am

Re: Macro Sticky

Postby KysenMurrin » Mon Jul 08, 2013 5:34 am

#showtooltip on its own should dynamically adjust. It only doesn't if you put in what spell you show the tooltip of.

...Did you select an icon from the macros menu rather than using the "?" icon?

Also, doesn't using or attempting to use CS or HotR start autoattack on its own? Think that's the case for every melee special in game.
KysenMurrin
 
Posts: 4839
Joined: Thu Jun 26, 2008 6:37 am
Location: UK

Re: Macro Sticky

Postby Fenrìr » Mon Jul 08, 2013 6:00 am

I used the "?" icon cause it always adjusted it with the #showtooltip syntax. However, even remaking the macro with an icon doesn't dynamically change it.
Image
Fenrìr
Maintankadonor
 
Posts: 1137
Joined: Fri Nov 13, 2009 9:41 am

Re: Macro Sticky

Postby Fenrìr » Mon Jul 08, 2013 6:26 am

Ah..got it...

while the space in /start attack will work to cast an ability, it will not allow for dynamically changing of icons as a /startattack will.
Image
Fenrìr
Maintankadonor
 
Posts: 1137
Joined: Fri Nov 13, 2009 9:41 am

Re: Macro Sticky

Postby KysenMurrin » Mon Jul 08, 2013 6:40 am

I'm still not sure why you even need /startattack in that macro.
KysenMurrin
 
Posts: 4839
Joined: Thu Jun 26, 2008 6:37 am
Location: UK

Re: Macro Sticky

Postby Fenrìr » Mon Jul 08, 2013 7:13 am

Bygone era I suppose. I haven't really touched these macros in years.
Image
Fenrìr
Maintankadonor
 
Posts: 1137
Joined: Fri Nov 13, 2009 9:41 am

Re: Macro Sticky

Postby Schroom » Thu Sep 26, 2013 7:29 am

I got a question.

I tried
Code: Select all
/cast Righteous Fury
/cancelaura Righteous Fury


as well as:

Code: Select all
/cancelaura Righteous Fury
/cast Righteous Fury


which basically should do the same.

give me button to flawlessly put on and off RF as needed.

problem: I can't use the macro during a GCD. even tho cancelaura as well as cast RF should not be on the GCD....

a friend of mine tested it as well and nope. does not work.

now this really bugs me because on HMs you sometimes just CAN'T wait for the GCD to end to cancel/turn on RF.

I want to flawlessly play my rotation and cancel/cast at the same time.
User avatar
Schroom
 
Posts: 643
Joined: Mon Aug 15, 2011 2:03 pm
Location: Luxembourg

Re: Macro Sticky

Postby daishan » Thu Sep 26, 2013 8:02 am

I believe RF can't be applied during a GCD but it doesn't cause a GCD of its own, so when you want to turn RF on you'll have to hit that macro just before using your next ability then you should only waste a fraction of a second.

Last tier I used that macro but like you found it somewhat frustrating as you can't spam it.

I've now switched to having a dedicated cancel aura bind and RF macro'd in with taunt.
That's working ok though having a shift mod macro that cancels RF when pressed with shift and turns RF on when pressed without a mod might be better.
Daishan
"I'll be more enthusiastic about encouraging thinking outside the box when there's evidence of any thinking going on inside it." -- Terry Pratchett
User avatar
daishan
Maintankadonor
 
Posts: 433
Joined: Sun Mar 06, 2011 4:04 pm
Location: UK

Re: Macro Sticky

Postby KysenMurrin » Tue Nov 11, 2014 12:30 pm

This is the macro command for the new "summon random favorite mount" button. If for whatever reason you want to include it in a macro.
Code: Select all
/script C_MountJournal.Summon(0)

I'm not sure how useful it is, being a script and not a regular macro command. It doesn't quite play well with instant cast spells.
KysenMurrin
 
Posts: 4839
Joined: Thu Jun 26, 2008 6:37 am
Location: UK

Previous

Return to Add-ons, UI, and Macros

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron

Who is online

In total there are 2 users online :: 1 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 380 on Tue Oct 14, 2008 6:28 pm

Users browsing this forum: Bing [Bot] and 1 guest