If the unit is known, returns the full RP name of a unit.

local unitRPName =;


  • unitID UnitID : the target to use (player, target, pet, focus, etc.)


  • unitRPName : the unit RP name, using the first name and last name provided in its profile. Does not include the short title.


Macro to salute your target using its RP name :

/run local"target"); SendChatMessage("Hello "..unitRPName);
Last updated on 12th Feb 2016 15:23