Jump to content


Member Since 15 Apr 2011
Offline Last Active Nov 18 2012 11:54 AM

#3587985 Stopmacro condition

Posted Gix on 15 December 2011 - 07:40 PM


quite interesting topic :)

View PostRaits, on 15 December 2011 - 11:45 AM, said:

I tried everything like this...
/stopmacro [target=player]
/stopmacro [@player]
/stopmacro [target='myname']

etc. not working.

This is because "target=" etc. aren't conditions but assigns a target for a spell.

View PostSavary, on 15 December 2011 - 06:38 PM, said:

Just keep the current macro you have then make a self target holy shock.

My holy shock key is 1 and if I want to holy shock myself I use a separate keybind for ALT+1

so just make a separate [target=insertnamehere] macro and you are set.

He can't keep his current macro because Holy Shock is not the problem but Righteous Defense. If you target yourself you get those glowing hands under your curser, which is annoying I assume..

I think it's only possible with an addon or a macro with modifier although I'm not an expert with macros.

I would suggest to use a modifier like shift e.g.:
/cast Holy Shock
/cast [mod:shift, help] Righteous Defense  -- you don't need "exists" here because "help" includes it already
So basically it always casts Holy Shock and if you want to use Righteous Defense you have to hold down "shift". And if you are the target, don't hold down shift ;)

so what did I do?
#showtooltip Holy Shock				-- no need for "Holy Shock here cause it's your first spell nevertheless
/cast Holy Shock
/cast [noharm,help] Righteous Defense  -- 1st: noharm and help are the same? 2nd: IF there is a method to use a
									   -- condition for "player" it has to be placed here. If you don't do it
									   -- it will cast Ritghteous Defense all the time because "help"
									   -- addresses you too!
/stopmacro [harm] [noexists]			 
/cast Righteous Defense