Simple script, point and shoot.
Code: Select all
/run print("Target NPC ID:", tonumber((UnitGUID("target")):sub(-10, -7), 16))
Code: Select all
/run local a=strsub(UnitGUID("target"),7,10); print("NPC ID(\""..UnitName("target").."\") = 0x"..a.." = "..tonumber(a,16))
Well, when the servers come back up anyway.