Writing @mouseover macros

All things /script related

Moderators: Fridmarr, Worldie, Aergis, _Chloe

Writing @mouseover macros

Postby fuzzygeek » Wed Dec 14, 2011 11:09 am

Is there syntax such that I can:
- cast @mousever,help
- cast nohelp,target=targettarget
- cast help (current target)
- []

e.g., cast on mouseover if target is friendly, cast on target's target if mouseover is unfriendly, cast on current target if no mouseover, cast on current target's target if current target is unfriendly, or just cast the damn spell (presumably on the default, either target or self if nothing targeted)
Image
User avatar
fuzzygeek
Maintankadonor
 
Posts: 5130
Joined: Wed Aug 01, 2007 1:58 pm

Re: Writing @mouseover macros

Postby Zalaria » Wed Dec 14, 2011 11:23 am

Code: Select all
/cast [@mouseover,help][@mouseovertarget,help][help][@targettarget,help][] heal


I made a guess that your second case was supposed to be mouseover's target instead of target's target. Use this to break it down and see if it does what you want: http://www.macroexplain.com/
Dovie'andi se tovya sagain - It's time to roll the dice
User avatar
Zalaria
Maintankadonor
 
Posts: 647
Joined: Tue Sep 11, 2007 7:27 am

Re: Writing @mouseover macros

Postby fuzzygeek » Wed Dec 14, 2011 11:54 am

Brilliant. Thank you for this and the resource link.
Image
User avatar
fuzzygeek
Maintankadonor
 
Posts: 5130
Joined: Wed Aug 01, 2007 1:58 pm


Return to Add-ons, UI, and Macros

Who is online

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

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: Yahoo [Bot] and 1 guest