Code: Select all
/run print("Target Family: ", select(1, UnitCreatureFamily("target")), ", NPC ID:", strmatch(UnitGUID("target"),"-(%d*)-%x*$"))This macro is tailored for Forever and won't work properly in Retail.
Code: Select all
/run print("Target Family: ", select(1, UnitCreatureFamily("target")), ", NPC ID:", strmatch(UnitGUID("target"),"-(%d*)-%x*$"))