BoP/Salv macro's

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

BoP/Salv macro's

Postby Ata » Sun Jan 17, 2010 10:33 am

my goal is to get a macro that if I press, say Ctrl, I'll cast HoP onto target of target, but if I press it normally it'll just cast directly.


I spend alot of time in all 3 specs, so making macro's that are usable no matter what spec I am really helps.


I'm thinking something along the lines of:
/cast [modifier:ctrl][target=targettarget]Hand of Protection;Hand of Protection

will do the trick, but I'd like a double check on my work from more experienced macro writers.
Image
Ata
 
Posts: 45
Joined: Mon Oct 20, 2008 11:49 am

Re: BoP/Salv macro's

Postby Gamingdevil » Sun Jan 17, 2010 12:30 pm

That should work as far as I know. But you might have to put the modifier and the target between the same brackets.
If it is weak, kill it before it gets stronger. If it is strong, weaken it.
Image
User avatar
Gamingdevil
 
Posts: 1738
Joined: Mon Jan 14, 2008 8:16 am
Location: Belgium

Re: BoP/Salv macro's

Postby KysenMurrin » Sun Jan 17, 2010 12:40 pm

Yeah, you need to combine the brackets or it'll act as two options (in this case, it'll do the opposite of what you intend, with no modifier for target of target). This should work:

/cast [@targettarget,mod:ctrl][] Hand of Protection
Temporarily playing WoW again.
Donnan - Nangun - Kysen - Kysen - Mardun - Timkins

Mostly-Book Blog.
KysenMurrin
 
Posts: 6972
Joined: Thu Jun 26, 2008 6:37 am
Location: UK

Re: BoP/Salv macro's

Postby Gamingdevil » Sun Jan 17, 2010 12:48 pm

Does that @ work? :o
If it is weak, kill it before it gets stronger. If it is strong, weaken it.
Image
User avatar
Gamingdevil
 
Posts: 1738
Joined: Mon Jan 14, 2008 8:16 am
Location: Belgium

Re: BoP/Salv macro's

Postby KysenMurrin » Sun Jan 17, 2010 12:52 pm

Yeah, 3.3 added the option to use @ instead of target=.
Temporarily playing WoW again.
Donnan - Nangun - Kysen - Kysen - Mardun - Timkins

Mostly-Book Blog.
KysenMurrin
 
Posts: 6972
Joined: Thu Jun 26, 2008 6:37 am
Location: UK


Return to Add-ons, UI, and Macros

Who is online

Users browsing this forum: No registered users and 1 guest

Who is online

In total there is 1 user online :: 0 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: No registered users and 1 guest