I’d like to create a macro that adds the target to my friends list. Useful when your friend has some strange characters in the name. Have made several attempts but cant seem to get it right:
/friend UnitName(“target”)
/run local a = UnitName(“target”); print (“Target Name = “, a); friend a
/run local a = UnitName(“target”); print (“Target Name = “, a); /friend a
/friend format(“124Hunit:%s:%s124h%s124h”, UnitGUID(“target”), UnitName(“target”), UnitName(“target”))
/run a = UnitName(“target”);
/run print (“Target Name =”, a);
/friend a
Leave a Reply