How do I make a macro target nearest person?

85 Human Paladin
4205
I was wondering how I would go about making a macro that would target the nearest person to me and use a spell on it. This is what I use to use in 4.3 that would allow me to do that with Judgement as the spell i wanted to use:

#showtooltip Judgement
/cleartarget
/console targetnearest distance 10.000000
/targetenemy [noharm][dead]
/console targetnearest distance 41.000000
/cast [harm,nodead] Judgement

please help fix this macro so it works now thanks!
Edited by Baregryllz on 9/21/2012 11:52 PM PDT
Reply Quote
85 Night Elf Druid
8700
/console targetnearest distance was removed and there is no substitute.
Reply Quote

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Forums Code of Conduct

Report Post # written by

Reason
Explain (256 characters max)

Reported!

[Close]