Need help with a mouse over macro please

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

Need help with a mouse over macro please

Postby tifaniamgp » Tue Apr 12, 2011 11:24 pm

Before I quit I had a macro that if I moused over a group of mobs like during an AoE pull it would cast Hammer of the Righteous. But if I wasn't moused over anything like during a boss or a single target it would just use Crusader Strike. I forgot the script to use and even after using Google and trial and error for the last hour I cant recreate the same macro. Anyone out there that can help me please?
tifaniamgp
 
Posts: 1
Joined: Fri Nov 12, 2010 4:34 pm

Re: Need help with a mouse over macro please

Postby 0zymandias » Wed Apr 13, 2011 6:52 am

You could try this

/cast [@mouseover,exists] Hammer of The Righteous
/cast [@target] Crusader Strike

I'm not at home, so I can't test this, but I think it should work.

Also, this is a really neat idea, I never would have thought of it, I'll have to start using this myself xD
Jéanne-Level 85 lolTankadin <Earendil Riders> Moonrunner US
Invisusira wrote:it's like a sega genesis just took a shit on his screen
0zymandias
 
Posts: 9
Joined: Mon Mar 08, 2010 7:02 am

Re: Need help with a mouse over macro please

Postby RedAces » Wed Apr 13, 2011 7:06 am

hey

0zymandias idea improved:

Code: Select all
/cast [@mouseover,exists,harm,nodead]Hammer of the Righteous;Crusader Strike


It will only cast HotR if the mouseover exists, is harmful (not a friend or neutral) and is not dead. Improvements are the underlined conditions.

The [@target] is unnecessary, since by default all abilities will be cast at the target.

Bye, RedAces
Image
User avatar
RedAces
 
Posts: 500
Joined: Tue Dec 01, 2009 9:39 am
Location: Germany

Re: Need help with a mouse over macro please

Postby Zalaria » Wed Apr 13, 2011 7:19 am

RedAces wrote:hey

0zymandias idea improved:

Code: Select all
/cast [@mouseover,exists,harm,nodead]Hammer of the Righteous;Crusader Strike


It will only cast HotR if the mouseover exists, is harmful (not a friend or neutral) and is not dead. Improvements are the underlined conditions.

The [@target] is unnecessary, since by default all abilities will be cast at the target.

Bye, RedAces


Something small that doesn't affect the function of the macro: harm implies exists, so you can leave exists out of the requirements.

Code: Select all
/cast [@mouseover,harm,nodead]Hammer of the Righteous;Crusader Strike



If you want, you can extend the usefulness of the button by adding some friendly functionality to it. This casts Cleanse on a friendly mouseover or target:

Code: Select all
/cast [@mouseover,harm,nodead]Hammer of the Righteous;[harm]Crusader Strike;[@mouseover,help,nodead][help]Cleanse
Dovie'andi se tovya sagain - It's time to roll the dice
User avatar
Zalaria
Maintankadonor
 
Posts: 646
Joined: Tue Sep 11, 2007 7:27 am

Re: Need help with a mouse over macro please

Postby KysenMurrin » Wed Apr 13, 2011 9:50 am

I'd leave the friendly part out; It's too easy to accidentally mouseover a member of your group when your mouse is mostly idle.
Temporarily playing WoW again.
Donnan - Nangun - Kysen - Kysen - Mardun - Timkins

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

Re: Need help with a mouse over macro please

Postby RedAces » Wed Apr 13, 2011 2:53 pm

hey,

Zalaria wrote:Something small that doesn't affect the function of the macro: harm implies exists, so you can leave exists out of the requirements.


Thanks!

Bye, RedAces.
Image
User avatar
RedAces
 
Posts: 500
Joined: Tue Dec 01, 2009 9:39 am
Location: Germany


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