Hi all. Is it posible to make macro that If i have a target it would clense it, if not it would target nearest friendly target and clense it and if I'am holding ALT it would clense me ?
'); document.write(''); var yuipath = 'clientscript/yui'; var yuicombopath = ''; var remoteyui = false; } else // Load Rest of YUI remotely (where possible) { var yuipath = 'https://ajax.googleapis.com/ajax/libs/yui/2.9.0/build'; var yuicombopath = ''; var remoteyui = true; if (!yuicombopath) { document.write(''); } } var SESSIONURL = ""; var SECURITYTOKEN = "guest"; var IMGDIR_MISC = "warmane/misc"; var IMGDIR_BUTTON = "warmane/buttons"; var vb_disable_ajax = parseInt("0", 10); var SIMPLEVERSION = "422"; var BBURL = "https://forum.warmane.com"; var LOGGEDIN = 0 > 0 ? true : false; var THIS_SCRIPT = "showthread"; var RELPATH = "showthread.php?goto=nextnewest&t=296308"; var PATHS = { forum : "", cms : "", blog : "" }; var AJAXBASEURL = "https://forum.warmane.com/"; var CoTTooltips = { rename: true, icons: false, iconsize: 15, qualitycolor: true, overridecolor: { spells: '#839309', items: '', npcs: '#fff', objects: '#fff', quests: '#ffb100', achievements: '#fff' } }; // -->
Hi all. Is it posible to make macro that If i have a target it would clense it, if not it would target nearest friendly target and clense it and if I'am holding ALT it would clense me ?
What you are asking is what is called an illegal macro and there is no way of doing it.
You can however use a mouseover and your brain.
#showtooltip Purify Spirit
/cast [nomod,target=mouseover,help] Purify Spirit; [nomod,help] Purify Spirit;
/cast [mod:alt,target=player] Purify Spirit;
I mean you could try:
#showtooltip Purify Spirit
/cast [nomod,help] !Purify Spirit;
/targetfriendplayer
/cast Purify Spirit
/targetlasttarget
/cast [mod:alt,target=player] Purify Spirit;
But I doubt its going to work the way you wish.