Thread: Target NPC
View Single Post
02-04-14, 06:58 PM   #5
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Following Phanx, if you want to use that macro in my example, you have to use \n instead of newlines, like so:

Lua Code:
  1. button:SetAttribute("macrotext", "/cleartarget\n/targettexact Kor'kron War Shaman\n/run SetRaidTarget('target', 8)\n/targetlasttarget")
  Reply With Quote