Hello

Can someone nice make a macro that copy my target name? I need my targets names for the titles of the videos I'm recording. But the thing is that I cant take the time to copy my target name during the combat while recording, that would be ugly on the video and it would make me killed. Also some names contains special characters and my keyboard doesnt have them (german, russian, chinese, etc). A quick macro would be great, a macro that copy without showing a confirmation on the screen if possible. Thanks in advance. Have a nice day.
EDIT: I found this, can someone please modify it so it just print the name in the chat, I dont need the health.
/run local u="target" if UnitExists(u) then print(format("%s has %s of %s hp (%.1f%%).",UnitName(u),BreakUpLargeNumbers(UnitHealth(u)),BreakUpLargeNumbers(UnitHealthMax(u)),UnitHealth(u)*100/UnitHealthMax(u))) end
|